{"_id":"@hedgedoc/realtime-communication","_rev":"47-6ef2e245038c6c386837d7764255994e","name":"@hedgedoc/realtime-communication","dist-tags":{"latest":"0.0.49"},"versions":{"0.0.1":{"name":"@hedgedoc/realtime-communication","version":"0.0.1","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"src/index.ts","scripts":{"test":"jest","prepublishOnly":"yarn format && yarn lint","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"typescript":"^4.7.3","@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","isomorphic-ws":"^4.0.1","ws":"^8.7.0","yjs":"^13.5.38","lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.1","dist":{"shasum":"5ba75ce102b8dd39dc153308b65ddb66890afba3","integrity":"sha512-eHuP80CEIRwnoClAuSjSYMUtVlBs3r/AMM21YUWIro87Ntczevx4eop/BArLyrcdlKdztb7J+8GCeSw8C4Lo5A==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.1.tgz","fileCount":19,"unpackedSize":104238,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA4gmvRnjpZpQ4Kzz7VtJlZrpjBCqxqxMwMsUqrvsGR/AiEAxDQuhny5QlSh03acK22F6cNE++RFv+xQBhVgBmDI05o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinJx3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo43Q/7BbRPvYBvcHN1S4miuk5iYR9mI0tmhqRVlZUhMg8KEfCCxUkQ\r\n7Oew0aQzxvTP9b9XL1O724wTwvvOtYVJzSwRR9WjoI1IdnCOECmH/Yzp+/es\r\nXu6ezxgEXQKzxMBzLZYicKqnrDPUPKBoQxyusqGNyyB/0Bry/qVxPdXlqH+9\r\n5xhXjjJ6rXj1hcWVQL5ESzLy1yU7yTLHgW4FJc6v36S84/gaq7SIGBa1RrSB\r\nQm9mnjRg7M3qr8Rn0MtimbNSTL3Tx7x5q1eRuZeDGrt6Pgs5Gl9UJeYIHcjt\r\nIRdDe02QU/j8ykmpc5MlBYGPh67xnG2kyERuze1qulxmfw+jspnxP2xcAvV1\r\nKygm69FPup30ZYpXpYb48jo2lZWJV9KRdmzWgnl1fG2Aak2tIyiovV2ZPw+j\r\n6JdcTXxlwWCNEbU/pAT8AkMzhGX1NmiVoRLXtsGcsxRYsBzsv/uFSzcvxI5T\r\nyinUx3o0m8Y6p9YK2wlf6j60IEUjL82FfntIEd6SlwltJFsf0RDytnxxzllX\r\nQPy+wQMvwo0PFF03XcOIAtCBqYNFW5jOP7g3plu/AfKSbaFxKKKEqAEyQ7EP\r\nfgWfBOZyPRSfgzL8tFOY1GwiueOs0hsNgG7oR2oX1RgVdGM6xrPQLsfDWo2W\r\nCma2U2Em30NncvkxPpN67k9TS2YY2NvDh3g=\r\n=rQwA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.1_1654430838775_0.4391608935070792"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.2":{"name":"@hedgedoc/realtime-communication","version":"0.0.2","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"src/index.ts","scripts":{"test":"jest","prepublishOnly":"yarn format && yarn lint","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"typescript":"^4.7.3","isomorphic-ws":"^4.0.1","ws":"^8.7.0","yjs":"^13.5.38","lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5"},"devDependencies":{"ts-jest":"^28.0.4","jest":"^28.1.0","@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","prettier":"^2.6.2"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.2","dist":{"shasum":"23f02b25dfdc537ab4f65a2efb54c77e2c5c35eb","integrity":"sha512-JZs6i6mtQKhndDZ9sge9EvGWcS5Tb1AfIQJENDnZjIXzqv6Gdkgagdk8JX6fYL9xB4oZDlRlLn1FzGj27lY80Q==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.2.tgz","fileCount":19,"unpackedSize":104265,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD07ilFokHOkGzrM8+QbsJfz3+h37eji0F/lB9SfWUsQQIgUIXVrGwgKrRK6n8nASxLWibUikS8+8RxRcFyDbXnZdM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinJ1CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJPw/+PX497vQj5HbeOJWNkzIjBKzlghh9VpCqjSrgRBOcVR73KLaR\r\nvF8jZqMbuupO1ku9t9zG+8n8Sc41R1/JwPWuM/x5PR6edyhWGoUxUyN5woI3\r\nbyAQL4MXBmO8uCU6h8QqOUXFmQlszQ0xIqNjprvi1vga8fiHKl43djNMvPOs\r\nxVNprs/2TCXABZNXIMFP6dx8Tpp0rueDIvtMjEMVnnyP6zTIHjnAsiUumd8C\r\nS4XtKwIaxyYkeKQHhsRIGKCmnz02oVaBfVoaPCprqanteSno1KK8o14Ty/zL\r\nD/VF6g4Hpk7r8FxoDTaHWgizZlfGkApPTT9YSC8zlQS00x8UFvuENZgXteqo\r\nm5lv54Bu9zKDLqf2aUis4epL+7IvV1vtSJXUjvHaP7v3/20ARxaGvml6lxRQ\r\nrTsCuVNT/I5ta7r/lV1qN3IOPMdVfxtUkqhubnPRpncAHluZ6xJ9yWSzWcUk\r\nDm4Ac7vwGJlq6FaVeWqU7Ekgxh0UtMSFHXmi4h9A+FcSJogk5WutKDCJmOAy\r\nMuinUAbHFW1ItpQXW9SeMyexShifuwdamNpfePeIO7vQp1qHN7xyZAjWqKEA\r\nb8frga2EVBeWxngdw64vNNi+NchA9VBZuLjYcKoEZL60gTK1+pR/v0PutXuP\r\naO/PtEjzbXP05RVXW2LtOCqqWXwKr+GNCqU=\r\n=2doq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.2_1654431042539_0.8656990256735537"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.3":{"name":"@hedgedoc/realtime-communication","version":"0.0.3","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"src/index.ts","scripts":{"test":"jest","prepublishOnly":"yarn format && yarn lint","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"^4.0.1","lib0":"^0.2.51","typed-emitter":"^2.1.0","ws":"^8.7.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"typescript":"^4.7.3","@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.3","dist":{"shasum":"b7d8276255179d509645bb3f1a1e5661db89df66","integrity":"sha512-WKRF6MAtOD/EzOFLkHwKvEKM6p/teypANbr9Y/PpVVXMiW5FoPFGYYXs8pM4pv01M+NRDnOMluH2pMMuMJT0Qw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.3.tgz","fileCount":19,"unpackedSize":104265,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCr+f1moBA6zmtmnvN7rmL0nK9W1b61h5ipidUMQ/JUmwIgVuqFJbjsE3t8iAMbtgPYjMVN2taRgelYIkyvq7nhxEE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinJ3CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/QQ//b0iDSmR0g3sUCkhLXcdMiqiD7ljL0MitqORAGGy3Y2+wNxQa\r\nWXd7rkKmEolojvHG+qyJ9ir16nxJbby4A+4DNLLPtvMPRoXB9ZPKztcbjf9X\r\nBTCLx8kn6DfTo6DhbtFHTAjC34H74jGOX6zD5ZIaxDbS9l21kTrobLmTN6CB\r\nurqrEBz3MaNYuov7GFZD631b9I8m/b38oUJY0YeoD1Qmr8eQyGLnEv1JB6IG\r\nk4hB7NSqfj0yNUL8PumbJ+R3wJxAroKLUPw4ZHZEiF2oHLaIylO0JTA/rD0N\r\nGRLYI0cr14UcM39Z4IDfpPM5fZM1PPuVe/txmhxPcipibU2Sitxl55UpXggz\r\nyl2I/g+tSgJDoMzzeqv+1GsHJJ6vd0MEuJ5Cdrr0X8mbwj3FL7jyyORWkpg3\r\nI9AmXX4WvKuK4fBADa4x9r+XUhBRTx9hOV5PGbEVcpmJ48T7PJAPRv6umSCR\r\nilYer0lU11GpoLoBHCaZkdVDg4JgSDO5kVVl6Wq7/fPWgiOJpspbL7vywTFQ\r\n7zBHNjQo4AOjDpn28TJxITMnoJeEaHJ7Wi0faY9Flcwnjd0B7oehcBc5RIhC\r\n66++/Rj/V2ybZI/abCRleel7B2rZvLLftjJhHq3x7z7EyyRySFoZi+/Wwhxo\r\nW6Jt/bSBz95R7omfuZEzqK1QgW9ufjkd6Q8=\r\n=mmx2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.3_1654431170102_0.8965007335157005"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.4":{"name":"@hedgedoc/realtime-communication","version":"0.0.4","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"^4.0.1","lib0":"^0.2.51","ws":"^8.7.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typed-emitter":"^2.1.0","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.4","dist":{"shasum":"0782f7f1525576fcc08563696b3d8612733a0a35","integrity":"sha512-t+Vq8rnmOKz/KX8E3wAPFTzNvmvVJtqanG4DyTAKjtYWvCBAJG07zTwtmnc4QedlV7SiwVKbeZfk8kZpQPv+gg==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.4.tgz","fileCount":28,"unpackedSize":108670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIANhhfx5Xc1XbRcnBufOVlCRpTKNDFAte96hsyup+1seAiAWguLxxiLfMCQ+wMMnVwGwqL2enwWiUbPe2nAV+kzuIA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinJ8PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNsg/+Iby8FzOw2f17U0zJ/4E9oH85aLNMb0UwDRrc8pG5QFybYSkm\r\n4Gs5D3OaBGSNFGxKCW48tVbRNt2ipF9qng/ZH7qL7XxF4tnSLjmtM3zDtLlx\r\nMURtnU2yWTagnl1Y8WaDTGfCIDtbgEhoiKasmw3/LLxiXF8xFxc5+28b424K\r\nr8ReBiCF0M7wU93MLzoXZDZnAwFQofb8JatbWS7vXYGBnL5qwM4RSO2G5Vh0\r\na6jUzQjmmRjUOFA8suOPdOlCqccCcSGNnRwRdCPknb8f0K96NjN4vHJihJo6\r\nE+gtbRfBFOm+hnrQtbSDSoSoA0RWo64h3V4sPW5OzHE/MTQs9WCY/xl+/6rA\r\nt63/x266BoNxNldONTzQ+bEoj3wpu/sZ/8Fze19YSiTrXZZBXU/EzajaQ53v\r\nMo//6IsmDSrgggFkZ8jmSF8BuGkkS1iRGuZJx3isloblOJ9kCHHW8bumEzwm\r\nQb/8RovJGobqwJbIrlnUd8nlj9F45mgel1fOpBGHfuytgKtjRZEEiopytrjw\r\ns0IxdG33ZH3/1FGalKiU4hGO+WdPS+8muBFmqhG/bFu3Qepb9BDymgdXfo9d\r\nepYM/IpaPMjSaULiHXKHH4Tx0CC6AS8dPBaUQK1P3e8NkqLhN9jKnFUx1UQD\r\ni2ZewWwROKrTpUompRSUhJ6VGweKvTZdeIQ=\r\n=hLlW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.4_1654431503179_0.3212179207716903"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.5":{"name":"@hedgedoc/realtime-communication","version":"0.0.5","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"^4.0.1","lib0":"^0.2.51","typed-emitter":"^2.1.0","ws":"^8.7.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.5","dist":{"shasum":"497954a92a3f40d185bed484719cceaae07c072a","integrity":"sha512-SuyWrPztykMmvLspxQ2EmlSb8bbL7d9M2AJ62Ydixaqv2BCl8MjOI0Xn1/3epxFTtJxiBgyJwdiZEmodU64dCA==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.5.tgz","fileCount":28,"unpackedSize":108670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7ooXyS+Po0vu2k/HJr+sIJRwBS/XTSMrUUqnJiKXcbgIhAPZtp+EZIyaPUwSf0iFbQWP3gA3fy3ZuYGKxdrsH/+a0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinJ+eACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEnQ/8CkBv8xAONnVxutTA2zQFcKOoyjnInsxYHahn1bkyRObd0iLj\r\njlWA52YtTY1TZ4i1qNhckLQL72xXQ/NG596SL8x/NfPx9EOLTdHcX1Gw9T2f\r\nlWda9YDtR7Oiidh3W/+XtOnHYDU3dLuHWIvLaKoS/GLIp6eZgfhBEg1n1N+k\r\nrzXpD0HcKUaMe9mxLZQX2jMvd2Pzvt3pzyrxBagDgL5wmdfQEXB/LUZX7djP\r\n87IpLTbm2qTORu3rr+K95xjoP1TAk7W14Zm/I4kE7fTbAcu7uQpryYPyYZng\r\nO2looXq+Vf7kXOnttqrHX7MKv201znXuzL4n5J8L61HGUOMMN6aK3JSL6AMl\r\n9Q+OTgyriRIGSM0TSvPDffX0Vuj3hseGjZZgXdbJtKEFrm+hOJUdNSaX0SRs\r\nKXHwhP9A9xC61ShRCEdZSkjvPmiQ+oCc5uNKRN98nykJVYohH3hh3F/oWBuj\r\nBoX7ouyq652m8OYxNp9hBiUKUXftca2InEwMXfupBQfzGwiuk9UyYb8fJdH4\r\nwM1v3UkpxkDHu5GeMhMl97lipWj5BMTClbwsqrc6D3ao9LGcXpGgxc8do2/a\r\nk864KHTiU7RAkFy7R7FOQJ1T8P/O55pwYnJd4tcNXpFoKZueLli2gBVGhSJW\r\naIWWSkSe07eqIyhsHnvVVaUbnhrpDDr8s1k=\r\n=zuyB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.5_1654431646702_0.40689204955179115"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.6":{"name":"@hedgedoc/realtime-communication","version":"0.0.6","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"^4.0.1","lib0":"^0.2.51","typed-emitter":"^2.1.0","ws":"^8.7.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.6","dist":{"shasum":"5f332487778a42a84544530badd266f97a19f0df","integrity":"sha512-neWqhb8kM7LmE9LGS6vq273DfMhNGy6+M7ixvqDSSMs7O7e2Wv7/2x5EJ+mWn09XfsH7kI39NUKQLuI0mwpkxQ==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.6.tgz","fileCount":28,"unpackedSize":108724,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBN0W2cmygiOdjgCgOkbC6GjbOmbjS+2KaMAtOkw0bPUAiB49YGXrBAxyEYw+LeVgUMyIoJ0FKmtSxsdhImzy1kPSw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinKL4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpDzxAAitH6bLIcgsNTlgAallsAQEOYkL/omSRz6P10dCUcvqs6yI8r\r\ns98BW9jKhVXHDYfjFQcw+C48tcQctryZ54huxAAiLurUhsB7u5IeYWMVq8r5\r\nZHEhK7DyEwYHhmRLV8bfG1nAGq+ycd/N69DguNZrTbBfqh/jLU7imPhZIPcV\r\nlrAKG5l6NwTlm0s4gfTO5RH0RFO5OKRXbEANBytiveSbzORg6G6Y1Zg6FF86\r\nEpDhPNDZk5EA9ojF7J86UYz52Mcsz9LbItmtn+jPpU9dg0lustTk5jbR3xy5\r\nme4GlzVTachEzEIm5KBLZO1NcvBTMJQJPd0RID/cIJkdUH9eacFDwbNXzv97\r\np34rO0Hz12//OvHMTlvo1G6YEjTiXal3COdS+6/eeOcnLbGbWlFx6oCbc/aP\r\nIO3D5SD0REVblGQPqZJ5pPFeXRgTyeSV6CYduu9/Dk04eouuaM+TYqQEGpgO\r\nvNZjoMFLStG8mL4ZdCmx0d/3ytwIXKO5b24PPgDayUm9FfeMXX5/wvUyilQ7\r\nO0pqieyHbKYy08yyi9UcP0sTYcrnJO1ZomWl1bXfT4CcSOXQUsNNyndqI8LO\r\n5dCdD+wjbSgccahv06LK4l0xvhFH990L6et1TVhTJ9jzHgqlznnqn8bQs6qh\r\nwYHAKXiwsj5RtTMesmiRiEo5p5O+CQaiqA4=\r\n=E6Ie\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.6_1654432504161_0.29581434022531217"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.7":{"name":"@hedgedoc/realtime-communication","version":"0.0.7","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"^4.0.1","lib0":"^0.2.51","typed-emitter":"^2.1.0","ws":"^8.7.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.7","dist":{"shasum":"eb2db40a6963b9acac00db015139ffabb14ef165","integrity":"sha512-PH3m/hy5P85TzmcY166v/7vh1DYniBvbugun58G2gy9IRiPhiDe7OI7y//MNm/tM5NzQgBTirB0vfgDLmzPhfg==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.7.tgz","fileCount":32,"unpackedSize":110593,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICv7i41y0s66V4P5rn55hrs989l/AxwL0h+NU+hm+fD2AiEAz37tGwKsB7NM/Igyeoa60AEEssJqghZ96CzEc26cK58="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinMTMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrB8hAAkIPyzKMFtnZyIdhjQk6NUnHFymueeoXFG440WrLyQgutq6nR\r\nkii1fgDJJPvK5WT4HoAFNiFJqwBYaf2yvs6jSeRbbb+Kto4dM9cWdyZ9FrHY\r\n7OXc4kPuixGqk/0QKb1um1gmQpT1BWrKInw1yyBMkOEhBXqGEduOpqjhuGZp\r\nUhHwJjnc/3aCmxJbySm9TAbG49grIfXdS1ngyjftNdP8jnsxc/PkDBANSeGE\r\nju/jLTKae9Li7bpZYbcyV00n1LsIBy5loQHkh6mgvT7zu8j7N/ykq6v8uKJR\r\nBdbfPICb0bxieCc+p3T08UOkves57cP6KVmY2YObmjAlEn1/vWidgyse60es\r\nw7QpeB4z4uDB9ycd0wF2bAO12lMUwQiF/OCvVlnkyYeG1mvEjUi3J5M22X2f\r\nKEodZKk5Sj+wHKf45nhwd71beNVHIYO9BoalcuDNOwhRgTX41CDYs9WhhciH\r\n+uZAIGcrVP6cojWZXJ8DkAYjd0iJMLQ7/no/LphMQ12LHtajm2DAnkRnhwTL\r\nMW6StAiAu/cReWPhG0DxruS+aamZ9zyf9wuLvw6hx34tyQVP081WJl8ku9vP\r\n8wOp4niH78FkWVq7Pd5EjSQgw04Rd6Ej33bnyn1q+fDBSW9tBfG9u4mVlKPA\r\njn9PGmOt9IqXGatcRAeJUzVr9/T0bxZs1hI=\r\n=3Hh+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.7_1654441163968_0.5967909803297962"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.8":{"name":"@hedgedoc/realtime-communication","version":"0.0.8","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"^4.0.1","lib0":"^0.2.51","typed-emitter":"^2.1.0","ws":"^8.7.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.8","dist":{"shasum":"762c907d9c62d2ac177a4ff701a29a76b51dd01a","integrity":"sha512-yxH1SXGg0BbfVfRP1ucTyv9FcGZVh1iIMpywfqpt0rvumOpEu2fR454ag2vcAkmzQUDdZQPLOORkht9TbtX4+Q==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.8.tgz","fileCount":32,"unpackedSize":110532,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA7GqlZq+Zd+SWZbBOZYjMsDpnYYK/XKKhK1FuP4kaV0AiEAsv0qlzGmKXNb1B/IEDV90sZaySa2vwdPoOeNvXu5KaI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinMjEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpiaw/9HIma1TSHgK/7FBrKUxcHN8TURwtNWSbghDKSF/8/TmxXXRU2\r\nSvK4mSefoVTnqbjvisGMdRZhtMRoiMD25MyNAPFHHCv24D6OagVcoXby4Wl8\r\nzjy/Jcud4hmAYp3/U9kO4vNJSbDoU5FCpQ8zm+4Q4X3OFXCvZs/W1jxxRU77\r\nlAHUfyH2j5uY97llRbGEFbLNYEDxtwhg1h7Pd4JwCVF0o9MFpXrteFhTN8XO\r\n24vsrE/kBFXMU1Ak9ADs2w7Y2NkwOUuEBnOXT7hKUs0fzV2Ztz9NOYDinkpk\r\nJCNxyqNOEHyXp8LM76WFiOFjt6LgREnlS4mt8ClrXgMS+25HCFo8imJy6anK\r\nS0rYDA4ytmMLt5DavjCQk1cmS+cbisvOB/ZioBGkyl3OM9sIXdqNVUIaBo2W\r\nT2WMWIYDZ3iKvheMATLs2/i6UlzO6NM+yZ487bpIE5YmIPo+qM6+g4GqHIjc\r\nhZs4a89turM2qm7nj60peG9DKhZQAvut7scY6b3RHV2mVVxkKfBrjlqWXlYY\r\nha7yD2hhqWkC7PZtfgsyPw+M/QKtgyZrJ5p6wZ5lPj8k1o0HR0ndhCXcG0pN\r\nka7RKf/XMnCYaJi3V7cF4xxbr+LjwzsQojLftShuMwhL+bEBnjyi9ocWftxa\r\nkd05j/Q6b4HyohxSkiym9opwptZM9AYjuZA=\r\n=f/AR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.8_1654442180053_0.6428765623105017"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.9":{"name":"@hedgedoc/realtime-communication","version":"0.0.9","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"^4.0.1","lib0":"^0.2.51","typed-emitter":"^2.1.0","ws":"^8.7.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.9","dist":{"shasum":"5c1256e0a797cc5fa018f31cf7c4a3f580b2a39e","integrity":"sha512-kiO7Ulttfy/UFQj0jBbF+gBYCKWsd9PuxLVTz1berB73fajf8CRFnRXP5eUnwgeB1fTWS98O6AhZffaYIZH41Q==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.9.tgz","fileCount":32,"unpackedSize":110593,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDg5n8EnQ8hDJbTuPwMnN8F9QzDUNp55cRm9jOWHUm/CAIgEWHnwVe3jrQuFnZbGhY2sdAwBNIpgjaloPp1UnJ0Neo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinMqwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqj9Q//TNk81xoAvn7+hwsh9uEoNSd20Vl3D9Cl/XERFhQBXjt5Arh9\r\ntRvqKcHYJeE26fZDfUD1xG0wQKYgopxAhACN7V9B1BqyzviTl/HOXhLavNv+\r\nDD178iv3nM4vHTh603sZ7JYtOtmwxnC45k4DavSYIzQ45ucMpePCINPlgv0i\r\nIjM5guM/2Pp25UVYklHXDOEevn4RJt88iFnNuaA3L0nHuiP/41IKzJi+52jY\r\nSUwEuLR93lhjpB2rzeRccbCxdbFfkUifcH+mAtafGx2hWhM95kapaDNHIHpQ\r\nYAHuQ28nubpUxAL2QtT7PDJbL5c78ZHV8mbvZma4iUK4BWMLcN4G7xwDe/mg\r\niEfSIAKvBZktU+BdBkP6Kc9sdRzAKF4w8I7BHS8x4nBpcJ+cwWAS9qCyem0X\r\n84BfDzRvnlT4Nxdh3R0Ldctl88ltuDQkagZ3m7ZBBVVRq4n5y8yzkCewtDwT\r\nkJJeuMiJ7rCZ37/EixLyjQmUIMgV7qe1NvyfULwM7xWaE7cFbLkA3fSum+UE\r\nqMa6cjqtXYNVDifYj3p32PG/qLLrODwghqIGSrcTt8AlUghCTEJkymAJiyK/\r\nZQZHCnXWZwwCLAli4m2ZJRk8kj9b9QQrFts0czztjKTT1MXaR81jJsejiocG\r\n0zMtbbvgHnb+qbcribTckvFOF7Wqm8GXsO4=\r\n=uSjW\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.9_1654442672265_0.9302713405276537"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.10":{"name":"@hedgedoc/realtime-communication","version":"0.0.10","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","ws":"^8.7.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@types/ws":"^8.5.3","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.10","dist":{"shasum":"5a11ebc0cb6ff91ca57697d9f6e182d2bcc5c7cb","integrity":"sha512-/dUkDc08yZvCLCu7XGy1s7WhWlNst/c1UWN0dDNWxA0Zv366c1RbQku2assWZc3gkx+RfYt0ePJ4x8ID8rQ+2g==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.10.tgz","fileCount":32,"unpackedSize":109516,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAo/xdYcl4xWtYKrcqnJUjG2mV6E9/jRG+kShFseLBjEAiEA3kTH/IREu7VH8BANREu1wWyk7Z2zAeuiczi0GxmxFeU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinNMdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrR2w//cVZr1yyy4QZFqL8xGH7CZJCJxJnnYXM+TrJTow2sPGUbmQ7W\r\nenez4X+GINVlR7RC+XPXdRdm8T8gAnAl6NaQbwlCXwzohl3nQIwOIqKgd7On\r\nn7ElDnNSjwED1OPbgorDXBq3flMAtzDw2DfnE/nWyFYpBU3xxrAh9kFNr5Ol\r\nSS/2TN1kGdKQ1Tj430Iwt57F0JkgOKcSp/5fOXPlgMO8RxSQSUof8ZKMGSDk\r\nLujiMgDodqE7U6EDIquLVmdvbksEFIWg8ciuyGLbIgaDhRm9mu5p7xtON1gY\r\nJOCT2LbHFIK6f+tL+TSnKY2em05gzU+HTZsuuc51ipOo+vGXeQPfkxyXq+Lu\r\nCH+tScUn0PY/yiJiw08PFzC+/GtYArBySDddgxCm1woiNVSL6aClSThSGckf\r\nKkXTaG/rBShuuAWqTsI84CED1g0dtMz/5h5KcYdz46yyL/1eJ831bBAZh2TQ\r\n2W3Si6JQahUtPzgLvdXboikFxi1KuAoE1eP2R2uhWl/PMqziimdJXoqWlX24\r\n3WpvTniBjZ+fD3ja7jHMbBBdHMFqsPveQ8Y4N8faB/1mGgWLjn+8kYxbxSub\r\nP7VECzSx8jpe21wC6NiaAD0VXiYdzNxIayHZWHcJ9Fen6YZlspuT63vGM1g6\r\nA8BHcBU1miLw8FuhsXyDetX6p0Myreq/qJo=\r\n=U29/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.10_1654444829600_0.9504498499653264"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.11":{"name":"@hedgedoc/realtime-communication","version":"0.0.11","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.11","dist":{"shasum":"f2f092190ccc6a9a5ffcae84cde88314c099fb82","integrity":"sha512-1rqEdaAIqJQkuJeGDDNQSaeD4Y0SdqGHm2wKUvPCI3htZ5UKzYn4vxWLip0fBo8hVQzXWPASaJbSHJxOAaq2CA==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.11.tgz","fileCount":32,"unpackedSize":109498,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRUmGD4gnt8KYFda0EDy73Odh7BskUbcnWQyGv59HjBgIgTC7i7+2vL/M1g3UjkJ7z7nVcogWx/1RNlFnvlE2S3uM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinNQnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPXw//URtokppCQPhOVxEHzUOlgyc/PA3RkbYFgjVDT4w5+5m5oXI+\r\nSU2wDCCGV1W9iehe0j304ZAPau5HfRG8McFrf8AP0S/xjoQq+yNxDMsPFkih\r\n6yHSdgdXIEHhzxQ7REKe1stztnGXylkM+t50KW1MY4yBEvU5txwDBnRBD2sB\r\nT7XKi/Fww2JsTbDJ5qym9ohXccLoXthN/V+UUJ7tl/zO9dOz5BlmBV03SgL0\r\nkkHv6ESsmt/LodFZCHUxCt4N3/R6DtG1rX5iuw+LTZZBEWwUyLYK0gf2O0JG\r\n6OBIhIOZcd7UznLGwFMKqRFQKsnungrop/p7OWqopU5xkqjx3ZYRmsZ39GnX\r\n2UqcQvQb1+TfJfLRfdmjx1dp6l5tl2CSILN6ezubTAQuhg9wp3PqzpKtuoR4\r\ng9tX56AjMDwITTegEbS5Q1VJcrVHb62Stmnnc9hfDN9YzQQ1j7sAgp9eEb01\r\naEzkdM2kQIqihNzEd5BvXYTtffGuldUB1EoMYfgEHycg6bqlckOD+kZowA3I\r\nIXZ+JR6Jag4jppom5FF+wChaqMBtdMik3J0Reyop/SJxERVa6l6ZvKGd8KYy\r\nibkeKHT2W0wXAf8JzTaNYxR8RPxoepZMMYapWuohqlHW8uuM+WuzC4CWmheR\r\nlGpH/5f5nOShWAqsN1kVmmc+iIPU0YR+t3A=\r\n=a1k6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.11_1654445095048_0.5292569984988127"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.14":{"name":"@hedgedoc/realtime-communication","version":"0.0.14","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.14","dist":{"shasum":"ecb30c439e5eca58f576d10b7093b1ef46958723","integrity":"sha512-DFrOzFhWvPtO5LP/Ac4ZT2qNOl+9ADuXLJQkVoE2aaUehwVs4Tc7jcaOn6Ebvtn0c10TExDVf6OTpB/GDLJejw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.14.tgz","fileCount":34,"unpackedSize":110831,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTvZ77wiz30f4tgAR79o3rpeeFSNxmI6fhnTWZEFuhuAIhAI0jb6lW5cZ2s99Q1cYdxw29sgHgKMHAtVfCP+Vrx9Vk"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinOSAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5kw//ROqzphf6ZFdlqRHrnR1LPxWGV1XnaKJTAhezlIraQJcW4QBT\r\nUe4XzlSa0WyeebQq7WXzeAvsSAb8c7kpHwAWoyIitTL2zj4kymnAzOxsugLj\r\nBqOu1BJxEX3JqaRE4fC2lw3ni6sDFkJb49ads1fExIUw9EOXx3qGwrgHzsMx\r\nn5AQTjKK8mAIT/Z5qoAYAxSLkRf1f4yWdgLA17RPtOLYhf8tHBjDNP++ejzT\r\nl7bbXPO5hpjs0dR/T/+UJvBipDWu8cZSbQKbWqfcC26/YYTF8jOJRaaGHrT3\r\nOXuDjrS7G3A73J52Xw5PmdG+1pIWGtM3SggA1YNcfjnhAhcpy1kNWwr5ChED\r\nJqOaU5l/r3nPelfZr5saCJ7ul4YJPQTH7ngg24cr0kzEsJXpQ1uN5CC+OjOc\r\nWiJqafBdkMlHlFpL98ae114WRIddCsaths8FxAM9xfwGhab/5QjhjfyGbZ2x\r\nI2hoUVBwBkykS6A9PrI/ETln6YcKNpbc2oMcyRtXv7RgpE6vVt98uD0quNNX\r\nZ9Nu5DKWGfIgQRVz3I6/JpI1wraMebj8OjJoKZ/PW5H1YZqcsDeH5jQOS+BY\r\n/GlM4JhHZtuyFEe3IJatslgx6ifPIVFMcS6USMG3E293XFmZeqO0UAvqiQ1C\r\nP7/l1NsWzcJ97PsMN1XRSD2AlKm9EV+t0XM=\r\n=TDVu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.14_1654449280522_0.4302898372321926"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.15":{"name":"@hedgedoc/realtime-communication","version":"0.0.15","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint . --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.15","dist":{"shasum":"36312f6b2da3225b744495c050572a6c3e9d4fc9","integrity":"sha512-H6kAhvMW3hOfQMzB2mOFCPWo+MEfvI0Gen1/C88wCQf29XKceIeU7QOJ41JKQPaRFxaQF0PJZeB8KiH91iqMWQ==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.15.tgz","fileCount":34,"unpackedSize":110816,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFKXkyWXyP+T7TW0jKmGYeLYNyemNfXUwHt7h94MJ+4wAiEA5qUJigvZETE9+yawmUPf4bRu7OxSDk63baYO57FECYc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinOYHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXSw//fI5TrF/0YVT6EHm+LS9EV99IztVIg1ZPwj3zdd0d7hxRFaRh\r\nQYLdnKATLfpP1sZxzinU62KAIu4RsGBNCZquIVPomKzcI+71lvkvfOGatR7S\r\n2H1yjxMytjVCwnTtagamaX0RW7YCoi2j2/nvzqWuA1/cPDI06tVI0BrsO9/N\r\nzfLZJFb2kdVGZz1KuYSUadzkwQYTLRjUH19e6bKxEDPI+iH/fHA5jO1Qd9Nn\r\nt64DuD1aEzh1/vlPt5APJPkSzDklpFlHURDNFxKPAR+G7o+pyR8yJC1G3sx2\r\nLdllIrugPQXvXCDCLkdLwCfURj50dkO82zbyGsEjPHKZbpldjy1Gt6nZCPDV\r\nr3UYg29fscZ8emSLaeeE1MgYUfDPiUX443iVuSwwAIkTzuszmlG69c4uBdnH\r\nKN15/ytqOsu4T6TU0E9CYSxO+0r4Oq45kybrmjRYDdSvqNiO6juRzpZeF/77\r\nOfwf4/5WmiMC6BhWjrJcGClgvh2c647/40LXYhFChT8yX+fWWqQBHqA16Qk0\r\ngzFOM0VPW0N+tibgwJvuXB/wpu2B+PrnBizl1Ifl+uOHt2CTqphYXL6WR+Uz\r\nygdeiOk2AHdJ1yTJXZFxGwBAjsWWDCGcf6wdZuNMs8lW547br2ON356pLYY6\r\nwncHGlJz5Mtmrdg7ZieqkuK2/sb8/l/ERnc=\r\n=+cE8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.15_1654449671700_0.9834981766959405"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.16":{"name":"@hedgedoc/realtime-communication","version":"0.0.16","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.16","dist":{"shasum":"8929d46bf171bd9d28c16976f492fef1a1ad6978","integrity":"sha512-Vl5q4kl1lsF+gGStlICzapsLMRx9xwSS/BIeJjCdTE/RfvgUc9Zbe1pm/zMNAdN0XxCKt6JGtG6DoCdPQYCPcQ==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.16.tgz","fileCount":34,"unpackedSize":111597,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAazZIyVVx1+/4RTs/XU9ankkAjtG/ZvRNynf9Mn8p+6AiEAtllz08cLtr1oxQ7rLAsP9epZkRBXtIv12ZCB/GfFans="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinO8kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqrEQ//eJ/E7AsLeXZjZLN2iaqghwUbsrpz30oXhHEqIlAWwhVItGlA\r\nG1LLkXGBUK4Yrmrz5qhSFjMvwUW4PGWQjirmvu1L43dEpl+vmF9LO+9OTa3h\r\nUYScz6RWelL1bBwsBO2igRHu5OtXobfc2i71AsVmKepSjn0on11Fz4Jw3igB\r\nElB89lvCJV13spub3Ll0JVf1E/a8fnqNLA80wOqz91LhOAKZudpNDt0HxEwu\r\nqr7huTdmu0aZvL9snVna1EzItBbZ9uM6OuldsF9vSJvKBZXw+0YROBe5Q/3a\r\n/d3eGpB+CSw5qhk2ejL9ZtUL1uuOXIHaZwH2Os6g9w9Yae11Eb8keygEc1EJ\r\n82vwTG1KYkEQGVL+iK43eYOuZZ4sUKrqaQCSj7olYyMyjdG70ZTcokjD3gAk\r\nnGj3WRPTyqEJtNoArIKS67KJ9NIUkFnBEwxpqTo0edblL0RRv3uUW6G5lp2+\r\nr70aM+0Em1qfM2vDQ4zbwN2ULohn3n5x3BnBYHLvLMPdshWCvzhiI0Mw7lH5\r\nmA7wCuRQXWhZFBkLwEc3e2j0wDFbtbRi0zV72bqlK1OE4iI5oxQCm1nEe95T\r\nRAVGOnfNNHUWiCS3EMlbK9uH8gI7ksymYhi0hj52P65i3EZTHBsCokUqd8lM\r\nWf1UhCogmYlptgFfK3+c4jHT11Bgcsmu3KE=\r\n=xPb7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.16_1654452004139_0.7694116420237198"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.17":{"name":"@hedgedoc/realtime-communication","version":"0.0.17","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.17","dist":{"shasum":"f196d13c0168a1175059e7ea1499c59838137133","integrity":"sha512-dDGpjbBZDUt292ZZtVNI1i3iZFZH/UjVxhlLehn/1+u775Yu5LZoUyHBwB8HUa8gt/6+SVTjv486TzrsbQ3NuA==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.17.tgz","fileCount":34,"unpackedSize":111621,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5z1X16zOwWhx4EhTToCciP2JmaQhkF0VzIuf/yJr3cAiA5uarg7iXOqnOjyFxkLH+EEGdT9TQW4ZbZzqt1WnktaQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinPC+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXqRAAhlssTbXkrmYoTiH0yNjYkZgUlTsXh9H0AweFBgm8gkHlqWi5\r\nnFko/TQi1hC6mTy624JWG1aI00fvskaDqH10BjQXo2GeQFSEUqsgydEQqfND\r\n9hLsVlxK3deTG7+amXE8sGYuUpH2e8m2kblZ1djKLDkBiNzOudZxHkTOqLaR\r\nHBVHJ9wa1GlEBe+s++CuYtOasZn11y78Bo+js/6K7u3Nuo5jOFW4Nhc5ToDn\r\nAl+B/B4yCYmOdHkhgWa/mV4TxVSTZTBsHlabkveMFjJpL2oIDKYjdK+hvmoW\r\n7azYqo+Kx0JyrTj+SxF1t7a8zuiwIPrwYfscGCwP9wBIivtJuSMZNO6aYtzE\r\nkA5f4pziMH3zzsj5Tp6ST3qa94/JY4TvWz6KRYmlROGH19sZPB7UUHHJQn2X\r\nOLNTAwMvWO/QUkQVJxbBYmmpoweY73JMbnDbofbwtzjZDiKpKSYBs880lkpp\r\nCjpjWAf0XdmEZOT84OZdqk/+3E9t8P4CXdXy8CdU/hqgt8c68+o8k4R0E0Mv\r\ngKQ3b3XgJr7749FFjd1Y69u8Lu9FSOZsIwmGyAr6Vl6InBnnIC3PnwIgIH4e\r\nLFnYAmF48f7wHfAp+XylWdDPkc9xgbxx+mATsJO5FXIl2wv84MFbRqoJpgiw\r\nXpervqaM1i/kdOndcUJNM13D2YpMh9IWrnY=\r\n=z5nE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.17_1654452414191_0.1266171680651651"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.18":{"name":"@hedgedoc/realtime-communication","version":"0.0.18","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.18","dist":{"shasum":"6650afac05ed43aeb6a84c9dd87127a3649b9012","integrity":"sha512-lI+vfPeyIwB+71hhuImfqf1YjfyKL1ihUXQ4qDLCm4corjKcgHvxqmYQFKqFfySLMDaTR4CjGd8bXf5Wx5tYpw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.18.tgz","fileCount":34,"unpackedSize":111577,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZl8cbt8eFo9BB+d747LV0U6O//mVN6Wpr85QhEe2S5AiEAiEq5Ffb1qpteUx8wlelYelm7Fcn43UTg9alHput6+JQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinPPdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmosRQ/+IzjRSxTLsFpHyIRm+gAR9ih8fhwTieG8hgHH0EJLUNV8fhuT\r\nZumHk2/rXDKeJbIxnJgxxHLn0j8zQ8IeK1iLpT2X/Jnff43ouTaUJnWaRc4J\r\n1RHYKM/lhGMZYOp5y4lQG6ZbuaF10VxRKuK9XYT5x+Vl3jHljbWG62YFu5vV\r\nk11EEnyJ5fkFrQBSsKpokNHO2CvlGYHeNm3dzRxY4e5w+SwX+RwPEseGmTk+\r\n62M91xgdn+q5Qsvej4d824XKpwT+cV48tTYPsoX2urAXP3fyfxCkNsCmSjhE\r\np8O5utHgJJNI7v3GjJWkoKabDIF+fIh9j+p6vjOc4zRMNPblG1jvMi2VKdlC\r\nSvtTXB9DW4cz+EISqd7z0YYOoBdY3YbXfuBYsOpt7JP1fXJ2WBC1/YkHLZsF\r\npmZDcg1UHb7RCYwg0zOZqx4dDISzLc8/ZyknAejuv7Fmk4NvuBxMNtqzmral\r\nAnpqIlFiWb+lV3SkmxkXAhiSmo4m3wr3F6bdaF58sBYJysdJQv0LosCKF9VZ\r\nykEp/p1hXgUuSy6cBtE4FCEOrhI+hoZESIfwNOVCS/BxfBnbHlJz92kvPptG\r\nHVQaAJxrCY05HKSxs3jCMYmE8srQn86Su7+urjkGhn4fJkIVsIB+viige5jT\r\nhI3soNam+/evGNzbLKXf/HOlefFcFlTWrmI=\r\n=bwV5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.18_1654453212851_0.9474346753753213"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.19":{"name":"@hedgedoc/realtime-communication","version":"0.0.19","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.19","dist":{"shasum":"34dcb2d191a6600b3c63089acd9f8a0e4283e49b","integrity":"sha512-eB0/kndGACZXU0uactkggfXALHuqir8A8Wg0pZoZ3/OY9SJsxI4HoWnWBCvb9QfkreRM+9IJI6Ku3OQ3T1BOcw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.19.tgz","fileCount":34,"unpackedSize":111457,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTm0ruCb8KKshcu/NoeWuiOBC1Rd4r+g21OVSqMuN5OQIhAPIMFtFCHfsMamc/WNOGEIFtajFrZk1XP2dDAJyvTXSe"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinPhUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpinxAAmLyJ9sWdRR3bkqOi4lQ8lZiQWfw6fGr7LS0c3SvxaG9BaWxj\r\nh21MYJikqmEbTlDwj3uqjzp7XSTH6HUT0GQml1eHzwI+aKUJzDM6/5KkJNSk\r\npgMYWR6tUOs8ZteOtmF5c9dXCtAMKPmxJ1dDf1ekeCv7c5VrcbMth00i9xBY\r\nn8UHyttzRrO17jFV1HuUWhqtqp+cxAObGQWCljE6curxYTGmv5/3Wieas7R9\r\nzyqRQPCbxzJJQycCckym/Uzv5NmsybYoQJCSPXly489zJZDnmaGnu2fsJfI+\r\nfVxAIfGB3ilY6yoEQUneoiBKTOmoYlgsrriq4joeuJyOHZSB3uqQyS/Xz08D\r\njt5vHcLKMzN59Q//9HFJLJem2zY6zGOJiFb0edV51ePX6Yjc4TuBrPlPBOUi\r\nkirru5yivohzt/XXTls77SJTG63HXDHBonlxfUWnf6TWKFtBc/vRdeotdPN4\r\n99qdHeIKrZYurGhmNQR9bDCj7vvatPxR8w8o5c58LTsjBC75X1Qf3S2v+2w0\r\n9E5SVdS0PhQjMXnqIAJLU4OIFqCLb5G3IploQVxSYsu/QbvsxPAjElh0Aldg\r\nZooh2j/0FG6zfNiF24o875gofeN8bq/j4FIXhQE/s6cmgZBciieExlo2EpkV\r\nfbXv5dfY2mSbOVXBj0zFxhhtL2e6KV9FEuI=\r\n=ZkBz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.19_1654454356315_0.008931565840493816"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.20":{"name":"@hedgedoc/realtime-communication","version":"0.0.20","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.20","dist":{"shasum":"eb238d9196174d7623b44dcf16024def5b0472b1","integrity":"sha512-GLA9SAgO26sSanitnZf/s3msuLYdQi8pvCrmQ0+cIh//JsgnskZtR8IzucLf611mYv2k3t4Xk5ruOkELazE5fA==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.20.tgz","fileCount":34,"unpackedSize":111699,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHwpzkRXpaKm5tpLpIzg/jm/mrzL02rpi9pHUwVbjsFUAiEArGtALZqEOAHlv/4A55ZBRlF5oA6zc79O0sCXpJIIA1c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinPp8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYkBAAnUBV3I6Cwjif7dAR9BKx0Qs4DG+uBLK1fYJaYBGcp+2xeUV9\r\nspk5ZxzoVyPu6jOpQ3utm8HCWzNCVPrXgBBAfF1AgywwHoQCMLU00Uhn6YRy\r\nLPTJxzax1n3QO6ZiEOVtQa2yC8hCx8XIg+uyHdvFFhqg70stgL1Zll8QlUGd\r\n+rZoLuTbEnsHNOrIaN/aDz6BM76cRVQA09RQrNHFUrqONyFMAX7c/NyDI0LY\r\nTSk7yeGHMvtvNlqVynVV4b69pX+BS/2OJAQ/waOFrklBbcOOsDnsgZSblq6/\r\nJR/6qloDqaMf/ruOQZLw6USHKGr7J9R80G+GxuY9rOqu76Y2R5JwqhfnXiXM\r\nNT2DaR6qxCC6iEMuiaA017cN/XBUUIY3y5rAbE+Wkbx31oightmD+IdLxiid\r\nxpm4b+mObS8a4r1UkTYFDOhuLbYFmKpRviTBLuKysaEujb3dLyRkv4K+tgy7\r\nDeVLxpvsXm7fGx0B4Dn5ALw9HTlwNgbyi6N12EpgYLvFFnbUQ/8ywiK7zz1s\r\nm1xCh3yJAn9bhamLY1Bz8eiDu6S74M6S8xc0DjtAcmEHduCLxtYTmYEGFPeT\r\nhV3/NeaV5VKq/vjHhZ+/RknbvFHciX6SiRWi1Ek14ySbQc0eg3+zXy5XrRTg\r\nuYAoAmHjmrHezsABejyPmn/ggaG0wld506Y=\r\n=uK/z\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.20_1654454908345_0.9184959580315601"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.21":{"name":"@hedgedoc/realtime-communication","version":"0.0.21","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.21","dist":{"shasum":"dec9d49dfda575999790beedf565047297fade68","integrity":"sha512-f7ua9amZYjf4A6zyc3c+faqUsosEVlR4JYTkwafli0/HS7wlnmOCpFchkx/U0WF54b6vT5X6cxZQDmbqHvuN4g==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.21.tgz","fileCount":34,"unpackedSize":111792,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbpdHSOv62UwbLuYzTlI6TvuGiA+tgmTy5VyUHuNWDygIgVUV+KijRrLcGSnU2BNqal4Oo3wdV9UI6e6N8hmGiIdU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinPruACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyDg//WAwiStC6oww2b5ZKxg3epUBSIKjB9khDLsLz7KmFktuJyIPh\r\nbentvl0kmDFeZtDW5wkCa+EzrkWn3lq0mmv/fGnoTSulFK8brpaB7REV+xBq\r\ntwLW8h20LxUdCzY5ChgfmEyNnjQw0l3sb+fAHqWKJvyQA5OmQVWYy4939NO7\r\nQ07ZJGJpXbe2GlkqwOYj6JPml3ad7O2ucMDO0Ukv/zGU8V8Vn5oTBn52zu0f\r\nsBq5/YGV1CX+dz9fyrsJdslfrG8nFu4JpWW6Z3iOgCuPDJy4+/whna0sSSHR\r\n31dfQW9bVi6lzP7vJzpVspIOdD66syaMh3OpbZh1adDmXD9XBosu3Xe7iacH\r\nFR+12yA11aWa3ocq2X8witFM7C/axdKPRtT0qok6+iSmzdC/W3sttEduqV8Z\r\nKPYYj8ff6tU3dov4wxHLOGV4Iz2TCUBW/a2y1QyCNqRN5I0dCPZe13KndgJw\r\n+GJ+2yLHWbr6gA+NxzNOf5NWj4jvNYGx3RLP6PY64VA8OEDGb0HJSA1ZiH30\r\nxw+2jlSTiG3uIPny5xkbkEECiqjMS90ajXQt8W1UymfYFV16VDPzKsMUipqo\r\nAlAWrB5C6gl9Xmzy70uiAHKEa3Sef5Jc3ElFwMF4kTI9F3xzF0yVrowhyGeA\r\ngkdP84rRY93Vcf2o/yZRLzRAPHxQvBkvvEE=\r\n=AH3o\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.21_1654455022462_0.15696909289008176"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.22":{"name":"@hedgedoc/realtime-communication","version":"0.0.22","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.22","dist":{"shasum":"7d44ba9ca5b522592894ab1be1ae449fff51606c","integrity":"sha512-0qhbu3J0GOCijus9RoA6imcvvSR3A7DM1PMeFPrzXYC+agI/X7vMoskoya8+I1IWgUZPN0FLN71bWilI/K49Tw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.22.tgz","fileCount":34,"unpackedSize":111300,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwvnnn26Bs441iQTLDBqES7ro++ulcyG9IMg6L9UPZkAIhANCbCPOeVtec1kFc6jifKUy0z7VJkam425Bp+8fEewFS"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinQ3LACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQ2A//YQGlmZmfE7HCWAXYPFnCx0dKMhMRdAqeoTiFT3gSt/2BYA4P\r\n1PddGxxrxu4Cc+GJv2fsYuMLGpzYsTIofRQdYT6bqy6MmlvIsNSEl8VZ9Q+9\r\nEaKqQlAZ6ERSEjAIaOkm08KzYj7uRFSpi8+I+yu0PEPT/BTN+uzaDZAVtigH\r\n6TtOc9PHtxwngPqxq2Ro3UB46OmuoWG2m8FJVcVkosBXIp/Zg+RwsHsbvLhR\r\nxJdCesdhcJB6F+SJgZi220CY62STQXd5KjEiE73AmtEWvcmtB6mRBF8jbcHD\r\nWQWQaZD+aB8cvJMtMFNHs/cWcHwmbgmsakOU2B3PNV5LocgcGxKi4Ca3Sz9s\r\nTvW9GUbwAttJOs1nQ2QU78d05iYSVJyiwhZJbBg4Rl20N4l7xVSOYPRJ9On4\r\n8PhPtz3+ulhZFOXa0GTB5xyfQZYd0Qc/LtrSLBWFAOjB3Q39YICZKDUlT/Pd\r\ngG2ns5AGPqIqosyUQquvZkVF7qzr63nD4dxJ4s2wKfAr3OG2vfRNj0UapadF\r\n6sB+yPd9jUo1EbkKg1E4Fr9MIQ/Qd3RvER8NbrGMijoWrcktTO8uZjgdrGxT\r\n2AEF02KRvhrvWDSxtcxMmdKRV+h1xCuu5E1Y907+nADGPIWcQkDpv2jDv7Fg\r\nQ9cD6iHxs6AfTr5woT8WbXU6nVQWY4HJLEY=\r\n=fJ9p\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.22_1654459851128_0.46554451350705284"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.23":{"name":"@hedgedoc/realtime-communication","version":"0.0.23","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.23","dist":{"shasum":"a12ff9c7e3cc240e83d111a943bfe01b2f348a1b","integrity":"sha512-HNCaHlDh9tuiVKpr511iuLuFjMJKqdDeb9hxjnQ39SveDausS+hRBIJOZQW5Q4JxBrl3Nd6qEoMXIbjvF3Sl8A==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.23.tgz","fileCount":34,"unpackedSize":111340,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBFRT5gj9IkuCE1Tk9+ZsksRsfWZ2sgm9gQiVw1OhiK7AiBiXwUgwpjN/dzyAumMlmCqlzJbQmyUWvJSjEKcs3sLsA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinRgNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdGg//RYcqKqEDkiMOZHPKUGz63ZpjaxWPuo8rYYBVapnbWASKOPJw\r\nY9ENmLxPjIBD53G/ukcbQaIb+g8Oha2KBlwRgQvw2c+MQDTvQ6kON9y8TDU7\r\nIC/hEGRshirLmOTLDHA0+x2HiLG48JSO40LYxXpgqXmvQKERpBr+sJAHK8bO\r\nKXX0b0ltVQzRcyxU047QBaEt2icZbo9ZErmCsGIL5i1AqQ82LNMAS7TZwM/1\r\n6FTf4WUO/X9ujjyHlNwyX8oS2sJy4DIlc98PWVX2r+zQmnf3unDDDJCq2fEw\r\nmu79uEYs6BQCPMUTU+7rTgIW7/0oIj5eVBtZZDxoq1KT3PRJ1yr1a5RHzr5l\r\nLZqWiId57iNCN4aOJNsaZ3pzO6r2K/0XpOIFwQypK+cOA6j0fd+/7LpK0lAw\r\nYWGt0G5RICEuheyo2OcCzfCMbLsyK6utAylA8Qeh9h3t5pYBHIUv+aNdS34r\r\nx3ClT3Xx6szwayIcCICFKIWfNCmTgBGr6JDN9+EkbXmVHorgi7pkKnRPuX4n\r\nHa1XfHB4G28JK2JE1FA3oMKy5T6nQ4hT0mE1pHL6zSMiEO5ytHzMCgwnGL0N\r\n5Krxawgm7xVf/q7PIdlZPlnm1+NH/CXdCZGlLbTnQEW4SMiPh+cNfc/ETvxn\r\nhg2uU0Y64UPNk6ZxjLvTI5cXmfT2COaXb/M=\r\n=mUGx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.23_1654462477249_0.5504408225583697"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.24":{"name":"@hedgedoc/realtime-communication","version":"0.0.24","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.24","dist":{"shasum":"e34c07c010b6ae1319883685be8fb0085546cbae","integrity":"sha512-Ih2wibMDOdXF7qLCl6wDfgfDKEA2rg2kfwuZAWfn+b543GEf7eDp1NUMDvNztzQN+J+HJMx52nEOHYoqv8My4g==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.24.tgz","fileCount":34,"unpackedSize":111300,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHLc01tVFPeq9Lt0+0M2tF6noZA8exfjsVJOVzkVo0MAiEAk/9KTZyTzvz/bOsZUV9FTRwb78HL3WJHOKPwdgsRxUk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinRmMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrrIw/9GwUOJJ9Uh/aAf8ze/zwikqwHLeCloFiN0GTB495WOyFMaO5h\r\nbcLEQ6un+2OGpQhSJj4U5vn1S8CTPKjnS8DTVegd+Yoi9tCmmZJGcTxIvZ5u\r\nsag6/WrmAtEIvt+nFfoYnKAccnOhWR82XmhR2rWlaiGXoyO5Ujsgh4Kg8x9A\r\nl0ojoIh3ovm8iwcVHwvC/lhUhNPzW/l4Sz3qRdxfYogDUrIRUJ38eWeXGTYT\r\nPQ1rsq36VGMqSNpy8xMth3VPGpNKjNLzVEaZAU2kXXs/dYWZBqmuEJ3RnaHu\r\nOAwscaHllHqY3c/BnjxUYOfsLWYHXVYp7lmkNpjKgBeuMberR27KFJh3GUrn\r\nfwQ6tbjejZqq463oAsl+aAg4cirWn15Rq9hiacka9fkJ/bCR1Xsi/cC4z1Ug\r\nVFw9JzCX+WxtAafdFYblmrAVRClmkX1xA4PZmpmq718qQQJkXGfGep05GAyE\r\n2IxRicR0q2Pk3AB6UBAjxR//+lkuTT9fCDpSMqwsowvOT53CMLoIrUZgtcz+\r\npcIqveRzlRUJuvYb3qdu/qJnEkjeOpulIVqdmboV6j6dTnMio8/8kSJ06wiG\r\n9JyZ4co7LU8d+nJF3MwgpIJ8LHfaed3OJ8EiT7dGPymB7aQiWCzHtQn6VZDt\r\nOs9CU1/XMtBfEiDXaLORmuSdwd2Ninl1SvU=\r\n=ibX2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.24_1654462860485_0.16442479831335022"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.25":{"name":"@hedgedoc/realtime-communication","version":"0.0.25","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.25","dist":{"shasum":"485a510d3105036754e4434312ee457672ace707","integrity":"sha512-26+/NHCJkfD/EhIibAqSbzJC5eQb9ioaY9H7kqXsFqxyiIRPjQfUneiDljf/hKIIzZ+TBSUnRD+N3EIIR3qLpg==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.25.tgz","fileCount":34,"unpackedSize":111224,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZ8fVA7KTAnLDBTpjvTyciUni21k99Gp68Wea32An3nAiAC57cbN5/dPPaW6z0PeTc/+sZWUf3t/msWkP4jJxliPg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinRtGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7jw/8CskYBmMrg8F2PPlnipCbiynsDOqLF+gcK0fhxkQyV2aYyM29\r\nPbA1rN07JfjYmwubeqxbo4NykFW8Y3SRVHmJpPsM5HXPLB9ZCsTrSjdBhjEW\r\n2bVT/FStp2c2WZn5R/E4yk7WeeHmg4K3DFjkYJHIBIZehjY00gQudli8MgEI\r\nUscy4Vyz/bqDtNrssKiHYaBT08CyYSUOYrHhB2wFlCCGqkRLdvgnv2YsSC70\r\nZlYZAaLBKjJP2h3z33NNIMmxDDY+X0v8tegkU2Djolb/9eojTR0FgZLd64Q7\r\n2Z7BanVdRdFGUMue2GmcRoL5I20GuWQxs3kZs+RQCkVwQHZDY3w7h83gfw8G\r\nh1Mtm0raYiEBIawmPFaCJN/p0jCHso/FAH3DDtsPgm20I3wKcbMRGcJ5+WbL\r\n8jbvaWdC9wkIKpkLlw+RvOJvm7ksh6xiSY+VDhLZ9rMkRmqF8/S1W3d5gIkQ\r\nGo2TZaFKkuVGkPPAU6k3nX/mAuKvI3erOK41Vgc/OzioQs1+jCmKAtDXPib5\r\nxFKd6bWK9LJTvUd6BS7LfIwXicicIRDEOxYsBf19287ci0o1PgJ/bU1Ol7Ny\r\n5zsSQ0AjbyvCiJAsqPQfABmLKB02svWM62uAEJUUL3hwZ8O5QdP4XhH7EHpc\r\nFtxAv6zce2eZJCM1qqbjs9kzhzCvzoW6kcA=\r\n=tBB4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.25_1654463302434_0.6807693833405752"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.26":{"name":"@hedgedoc/realtime-communication","version":"0.0.26","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.26","dist":{"shasum":"38c1d27ec525d0386eaaa14f266f6757335297c5","integrity":"sha512-p0yS3tEH4M9/W+ThDxUq874wrEfx+FgzfPbYFSyigKqJuGePHQzZFtGwEmLXsTjrgT21KjuBa9qHEx2EZuB4Cw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.26.tgz","fileCount":34,"unpackedSize":111300,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAHiiGWe7osP99S00hT8Aw6nESfwuwkCP/RNdPl6MtUTAiBoYKjsDFn8cv+IcXooq31GjrUUmVMQRZMQwO0mEcyMKQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJingIBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmozdg/8CUAFKswnisLQz37+Zn5Jq9jceBPqY7oh+4jEx99c1m3mZRGa\r\nag4EZr2LU5O/ph3eQ+DwiqR7Xaq/TIixWmM76heR+5PFeT6tNjPR+52NMwFb\r\nxGC5tj2QZZSd0LTBTsSerjnhdpaGTrVUmbi0Gx0HHcqQ7pLNq1OWNB05/jyh\r\nI3VPMceE3ZWw6DsRBN4lP7dItK8MlV+duvCDnRcAAsO1BlJXAtldMzm9hca4\r\nH+GApuiwXVHo1ejnoMn/+UcBwlUknNlhDke3G2BesKSmR0GwpXegOd2hfp8l\r\nNHLPOfY6oV9EMgQvuIQTCVTxZjFcasehQlGE6hkM5I1MTQiCcVazsHnpC9aV\r\nsatCT4xe3/5rYVPtbEUuTDRnp1b9zwQiusgE0QGj0JO3Bi3Kik/W3iQxXu3M\r\n5XCf0MKu5HKuQdRxUpSMA7yUsIl2rnEapl3NyexhEsAZyvygf9hj7aazNorY\r\nWCP1eDXjhO7RJXl97HeyxeHrES6qHLAIeufqwpBfrnREVEnvYT3yLJWz+AFn\r\nis/tnaGqh1eDrqcZziXm+6RUaZvRqDLMvxB5PjWepOXX7gQSglFohd7ddmIr\r\nliTfXhVvoielhyY64Gk8Nau8AE7yvWPH/uLSqZbUnYnezee9+H7LCWU3+bXL\r\nQ5WqJEAd1QSyJ1vim8dTtFmyjjmVFEYwWG0=\r\n=HnFQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.26_1654522369530_0.3756673316896506"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.27":{"name":"@hedgedoc/realtime-communication","version":"0.0.27","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.27","dist":{"shasum":"098f7da533f1b70f0ecf844b69d2cfc71b0ee62e","integrity":"sha512-1Bh/U5a5l4y5p8WbZiemI79Xwagz5O4tSQ++7PFUzrRFUatxx9xuP+050LV8JHZ7D10LoFti2XqzPHUwDJF/uA==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.27.tgz","fileCount":34,"unpackedSize":111376,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEd3cQVUxaoUKQxsLDIjVAb5G3fYrssAfZrbEmtvOxhkAiEAhhs+sC7ijZkOsfVcnb7S+zyI6WeMXa+HZLCDGl9aJcs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJini6mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGOw/8DrgDvnRRfBwjM+W1xm4w3BUaIFHlPPV1H5nSXi9GMaZzVeRo\r\n4A64R5lQrNVCAR8gDmxhV0xvfU8Pat4tGDSnuvkd++2+0XoKr1iFrgC4OGLC\r\n/zxpH94seK8+I3thvsBez1yi8CQmyV3Ng9ujfkIridDZgya+UlSVoMtL2lGg\r\nL+NK2ZwI+Fy6f6NSCDbMYSDXCuG92VoaikFV6ipb84O5iTgM0CauqQSBLRss\r\nL+2+/zwJptX3tUbJzeXk7KvgG0Ed0kXTkDqXX/ZEwTzKTgFQieO4n5BMTltV\r\nx+zjfJSg4zubhDI9PbXk2BOLTR8me6W8Suq1++f1Qy8oVVTHgV34/wCYTX06\r\nupHTJtV47Wj8lfpAxh2VL346VLmx58/cD53NMGAraUWVNmwF5yk6phPI1ZxM\r\nlKAmJ61EaBgDTI4Z/L4Rau7tjt8xLZVVW+s4JP3X343gbqifKDlrCrsvNWEs\r\nZ4WqXOK20+6UIR6qFkaUlIjbOTEhCy9jh2SM0aNxuGY5PlSpolmveK3T1m6g\r\nV75WGB0WSJvOBnsC4iEvirNDkxqTypnAuF//nTDMgpaj3yOY9sneL6X9f74Q\r\nRWkhstTOiCPT0t2r+ABCvaFEUtWEx3/TXaYpQg1B4IC12KP0s4Kf70Pj2Kg4\r\n/2S5cVK5mmbgVQQVw4pc7/UTfcu8f0DnSlE=\r\n=sWIX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.27_1654533798266_0.03859551686464635"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.28":{"name":"@hedgedoc/realtime-communication","version":"0.0.28","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"^0.2.51","typed-emitter":"^2.1.0","y-protocols":"^1.0.5","yjs":"^13.5.38"},"devDependencies":{"@types/jest":"^28.1.1","@typescript-eslint/eslint-plugin":"^5.27.0","@typescript-eslint/parser":"^5.27.0","eslint":"^8.17.0","eslint-config-prettier":"^8.5.0","jest":"^28.1.0","prettier":"^2.6.2","ts-jest":"^28.0.4","typescript":"^4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.28","dist":{"shasum":"2e95004ff9bbb121f1e07dc487501889334dfde4","integrity":"sha512-VTcyv+k0Xyu3WlD2NF3lHrLb1Xs2A9R6H7P45pA2nFoz5LZ4KWVTtc3VEWA/z3fzgRJAo87t1huKaeE3BcpkGQ==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.28.tgz","fileCount":34,"unpackedSize":112425,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOnUFddL02Fwpb1z6ovnah6QH+yA1OXZBme+Pan5OpywIhAPO0eAAh2ReuUN4pMcMPsA45RtG9PyYrb4YkNTj2KfeT"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioKV+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeBA//UitecWWY/2bYW98RkDdWBc/xVIQ4qeXrO1CQr9fA/68sebUh\r\no+uqdOOGERWXbAHOguPfSs481PVQtUbEHQ4Kl3r3XA69VSovv9DDUPaMcrCq\r\nVyWxDsv6WVDGr/bIthh3J6JJl0PDrhcpYYB2jXOhNJFn+L3ZPHFK13vm6v9P\r\n1JyJe+1yY+jYGcnu7G8m71RaJ28Da3u6PdbZ8CepECcikUyai4PGWUDLdXN+\r\nGY/DiAzeEwlyiS460c+obWQH39EFCvTQ7wOyaQ+AsY/37HCGPYrneNcsl0xr\r\n4bZI4a+Sa08gcq7T5IljGsD+J/b027nd+VZc25TTHbV1QXMyT2zA4YCPEoKf\r\nZwgCfpduu2NxsASDInMPl1ki1OoGHMuou7sINCJQ0j/oKP9xfvJMxch/mmFj\r\nFl2f6jDyuHKmPod1P3mAUdCUNgrAev2aPkxZrBkMJaJLMSp5la+So2w2QZ77\r\nZCUN+2z9C1K9NyeJ4jzGOJiOBT+4uehbLv/apv3qBMedyUpIeYW/VIa1eOkH\r\nigQ7odhhfgdLM1aVAgajDAMT62hmWdU/tzaBMKFESCruLjx8bCXX+Uej5Wrz\r\nooGZvPiwlghjEcIng5MhbHLTFtlO54lKor5ixgE/qBHbpRJ7GvdYYNrzUWwB\r\n6ba1iOKT7vo7541iqiMhMMsU9jexbkbVR24=\r\n=WCAR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.28_1654695293880_0.6529195015436242"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.29":{"name":"@hedgedoc/realtime-communication","version":"0.0.29","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.29","dist":{"shasum":"41ecdef088ef5e5507433bdaf3085946aa928852","integrity":"sha512-c9IGewGKatkhP7+1llJK94ILvhllh8HJDRn0gcm9WiKM1Y3h93Z2I87o/7gPlwpE2MksVGbGsZnrr+FwfYVbQQ==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.29.tgz","fileCount":34,"unpackedSize":112412,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACPTSTdLZuZTdAClmkD/n99EF+9NP8xh1QT8tYjmiMnAiAHwSwh22a2xb+h5Jy0uLG46ZR5NXYyVWSCB0GQ+wErcA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioKb2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5fw//Z24qba0Ln6QAYQXdbtZO+LG1aNd85gKmBtk/qK92skNnngJR\r\n5IYd7N93oN9VnN+gcKPyahh6/KlPql9li4z+ResnF351dyTaz7ioRa2wtkP2\r\nzovUwsTbzDyLiA+D98lKO3SkXt3JGRFgQ+Pt//1wFWk1RWYnWPGPGg7HcSD5\r\nQse3yC6b8uD2DgsRdIL240kmpNf/SPtVkUbOsfJJ2+w0xlkYkwWCwKbFaLBl\r\nzjaA7TR5BrefJTYqbMrWpo4yYVPHxW+t5wY5fJ4F1aOE6DCMcpuqxht3yrG8\r\nLd7Q+gALb9n+UshCd6hfGQzRYsJiA2M1xm0Ib3KPJwvpd8hJssm40uspm1qV\r\nXpHEN8kioyuQyhS65WDHTRf9uY4gHOkBB9Za/1Z1CCOCuUoyLeX55UxTef1L\r\nc/CrjlqM5qBt1HENxu7rKAVVvmvAfOx10fNmvqXfG5Hxk6QPG7JCKXHkQKwz\r\nWd/biMM41kXUZnQufucQD0/uJNPnuo37zmmaVXGsb59M6NB6TBaLu1YvKkez\r\nnrjE6sXp2nhviRfpvXY3JGMKkdEpGjfpPL9u+OB5UkTHJ71/PKhUnz4DU7Y/\r\n4LNIGxzsFJV7+rD3ZQ4RapRHYdzNZWNYQNpulQT+AohkYuJGAe8TCjxTgi/j\r\nDfB8CeY7LtAJzZei2F8cN9r9lAfpS0eilBg=\r\n=azNz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.29_1654695670437_0.8291609990353475"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.30":{"name":"@hedgedoc/realtime-communication","version":"0.0.30","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38","isomorphic-ws":"4.0.1"},"devDependencies":{"@types/jest":"28.1.1","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","eslint-plugin-jest":"26.5.3","@types/ws":"8.5.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.30","dist":{"shasum":"6c46791c7ca2940b1526acd75936b3e0fc623fec","integrity":"sha512-jGO2U0/dA3BbCF4CaLTsgLy3N5Z7cqzu+dFDTUyQqb2agkzix+IUdn//VXzkski8DjQqJpURlac8kCkmRVShqA==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.30.tgz","fileCount":34,"unpackedSize":113376,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9wKTTvtYSWQZf94W9RIgbUdcXHIAYB6hdAQXclaBgWAIgTljP9AAQmhyn3uSKLaZxP5Azfn1P7DOioMHg6G4w41Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio0XWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjTBAAoJ0dvsyIYC6pdC5f6XGbvEII/iU1tw6VZttgYj+1Sl8I6pE7\r\nZc07VZEjSXnPfzvlDhjBlWPo3rjQn2T3MFGI8VluBbs542WAG5p81XAILdV9\r\n92aPVI3M821nYA+IhcWRf369TYHD0Z5qbZETq0EkA4V7Npbznd3wC7jAPRWI\r\nDVY1G9X16CmmymFFtPrG+GWQ4/eJMUp0m/QcirTprzsUaBHX0NGsSRl7n6S4\r\nSjG8/k1K4ymmKBoWQ1xWX9AEYyY9fDzfxfTTKAK7Pa6JPAr7dWeVwwMW1by3\r\nXr+x6ErNsXWTskdvWr9wU0ibF/GFuZEXFElwT3KO85EtIgmi3NJ/KZ6qqehn\r\nNSbYz1OfzVRygfW+/yz8QOPpIXsPxcicPdLgcA4A7JuHNJYGUR83BASjmdb1\r\noO/D01M1HAmRYT8GKGbtuhNOHJ3aJB++0w0H+lJta03lIfXSl6CDxeew19UF\r\nENiOYZoBFHGLDZjE4qjWxbyjAFVdFWIW6oseUe0HDF/Lpfbvl58WZfgSpsR5\r\nYwaTRnfJ4RhVq15p42DgN2GE3quhpy6TSjitDl5Ij7kEQV0fW+Z3Xy9mOuZT\r\npt4cdcNqNnnmmXCHCblpDiMYf08vI3vGMKgGvd7ceCtSRjK9NJ+L1+xWqh2f\r\n7ui5y+MpeQhuhnHbKF8ADAl9oDsj8rMbACY=\r\n=lUIH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.30_1654867414752_0.07281474119685871"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.31":{"name":"@hedgedoc/realtime-communication","version":"0.0.31","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.31","dist":{"shasum":"9907310415c7e68df464f6e246767046dd295d91","integrity":"sha512-AUxktPvdCO8wMJQ8rqom2PVMol4CdrbkSZbEyZRillCSYde5SFl3fgHKuh3AuQBWwlXpVgWiJ8OUm6weCsQGOA==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.31.tgz","fileCount":34,"unpackedSize":113421,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtEiQPfyFpuv2hJCXlVzOkYb296R92D4j//JLzoOm67AiB+14RQtKDCZfWy5Dke5/FMNQaK+0e1kHD/GPZQax/rzg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio0aOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMXhAAlxO6WzwrInX8gLYle1OlaeUPTCPophBJhu7MeUJlERYH/Y/K\r\ndyFZ8NVUOzthUcralHpWb/VXUqTW5lx2J9CJFC6zUqPX20QeYxSq5HQPhBGT\r\n5CEB+Ori6+UoAv6qhoN5JTc/VaTtG3O8XOkSy9OiSGltwhobExDJYo7UEreU\r\nqjTUj5gN1karu1kbCbj1Ub4UQzoHholBlce7oVIoqeWcgqVPsF8k/WFJZL6x\r\nti+TRs/TGsU5b7WJPpshsBSJ6NlRcrCumol8SDWZzzitrIZXvFqFshuKEhrg\r\nGAWxMmqb9visoY3llj1aRbWjh12pbAFO5ogA5+zYJCKKRRak/3ygHCJviMjX\r\nRusQ10Aum0lgVOEliuV+PM0lqnq+GpPcv6PNxqtoGslYxPhYuy7dEPpiNeXf\r\nmk33fU595wCD6vzoXYsOdbHziTQGs7kiam5XMylan2F270Vfo9MdkV72umD3\r\nDzdRv7OZkmkula3vCDKBisPHc1X0kts637VRC0z8ZuoeK6LtBVYlenTB3Dfi\r\no1nQWzxxf0TbaFgRJuNZwzgRrDahRdPdH41pr1ptWDSkYDRekzDUZpDDZMDQ\r\nF8OcMo96hNUxf/K59E4IpAbyLuo+nCUMyKzSUQV1sxw4lmpsSfjSIGAripy+\r\nx/vgFGCdP6sW9vieuVJS88PfqZHjAIyL15I=\r\n=A0xo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.31_1654867598581_0.2881821366055366"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.32":{"name":"@hedgedoc/realtime-communication","version":"0.0.32","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.32","dist":{"shasum":"0d0ee4a35ac513ac7151231200eb4ec798a14af4","integrity":"sha512-tQR3thPukFj/mgUh5agIlw65lmPcDffvm/YFeNmfo/qff7Ev29/gPkY3osn0sq2IImbOY0eXKYip0tZcF6bySQ==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.32.tgz","fileCount":34,"unpackedSize":113435,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvo7LSOdVYWlpy+5+ENBbaiMBjry8tv094q85aOvYt2wIgBgurwJEpaBf2nVWagNMPYLDz/F6iqyxWequxWpQJzW0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio0baACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYog/9EpN3v9ACRxHUkp48RQ8M+tGBQ1ytJ/4AB13s1y9Z5NhCiCwR\r\n3oR0gvo9JOcWYi+89c0Hz/9HM214rYORddFFYneHn0HX7jwd/nY/JxiPSX4G\r\nEXKBKBVZAFSBKqDPbdWpnXlxZKOB4jgDIeFPoBl5CVGTAZKDhE9wkeVVuHbi\r\nn08dahsqSjciVV/ObzUmS5koqvPJ8lEJdluPxbTbpUGiZTDTu4DjSfpry8B7\r\ntY7/aaJJrSdbA7HKQP8HPva6CNI4t+4MQ6VSic6MI0uTfvMqJHVQRz0kFI1Q\r\nM0BSauWRDz8Fi62UwKnWTjuXs4lblp5A933gqQXFyH1vTBaLbgdGH9M5hSYg\r\neJ58dFdF5H0R0Q5zQFaB7l7j670D8JTirTMmL2K8yP+Tp6xrjEkwCXEPKPQf\r\nQnAUlKOPb2sl/WuhvRlSqph2anbs37jr7nYW+6muQTmmeZZLi6biFMijkzg+\r\nF4WG2OQwO4CD/bz9qxj69WTrGd52yMeEjdSNDze2Ns44otKEK53JLBdlm6ie\r\nRqTLc7ZNLgQfxxUiCmnU3rnk7nvfajEqXdwjfBQFCJ5PXmXUBAfX0Fe7S+HQ\r\nM2uM4Kyh0dmxg9NVDrk6KbTRWujZKH2yxHUu7TWCZHC6c9v0pqXJ6hjpnoKc\r\nHxwfyruX7J5MaJobI1i3KQSfJq8/7YDjwlY=\r\n=yevM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.32_1654867674540_0.25745178390943413"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.33":{"name":"@hedgedoc/realtime-communication","version":"0.0.33","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.33","dist":{"shasum":"4b7b8a99a39d8b7b3ce5c89e2de19b29101a6315","integrity":"sha512-AvuXZ1DjZ0FcNzN6Dlrj7aSHRrdx1DkMQUmr5uL25tF2csxQ9SLOe+R/Df6FTm0WiL07jQ+8Frw/3NkbJgMwJw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.33.tgz","fileCount":34,"unpackedSize":114147,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5/qtNK0Zn+Y5OczZ0acn66vkQeo63H+/RN2WXNFr0MAIgbLfvyowlkfScHFzV+ZKYzKEOZu7QKGbJohBw/RWkO44="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio00IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGGhAAhI37VqVrDahiR33PfKAR4MwKYKy9zekAdbt0NnVuVj7fthMr\r\ni7b7VL8p/uack/XAnc6+F+VIuDoG57GV2L9Zcg9LaBzDzmn2T+bzty2kC1v5\r\nN8AT1mkXol52E1NGGV0DKq7iV8o1MlX77qkR5PJD3zrf2sZC0WGKFqw6Y4Sl\r\nNoGIJe5NzcO4aTaIVp23sYU8G9+WLZLt0tbmxx1oyTX8lhmHw3a2YlFSdpez\r\nOyVd2nlDwgbXlAhIEwnf89aBT/uNSiAiK83ZmPAlKkWjJlBKp9IW5o5pQ+Mg\r\n0tCCb/gDQx8lcgshYhAguzFBCKJKqUDxoDeu3Jbp4Rssq4TA7PaFwN3sirV8\r\ntWwV/Msd7oxRo3QhCZ+uXoG2vYMW/hW9paAoDYovlYcQ7iNtjreX/0/Ja3G3\r\nlJzbp8AiaOOU6GIXX4u/prG6BdzlgtLHS3yEsgjZD1FOoEUw9joDD5+4G4D4\r\npdn21MTC3CgD1k19RzYvpnlooXkAA5lAmMSrN4X0m9KHD3o7laEznnEzJ094\r\nsJOJC9sMxrMOZgQQfzGwtXuyXgpEd2ZMKtmfhKAXlrkJTC42dMFNDuqivkXh\r\nf9Bn8MevyLyS2UnfAH4TLeFgzlFPm+34T2Nlaxzovh7nLbwQkXyNBDl67b54\r\nuM8v5blYroHVTBY54zte+ooMg6cATAUyl9A=\r\n=2wE2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.33_1654869256018_0.5514620602258145"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.34":{"name":"@hedgedoc/realtime-communication","version":"0.0.34","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.34","dist":{"shasum":"0cf4c814242322c5abe812cbd6103c830af20aa4","integrity":"sha512-m7omCzXKk5iMXYQiEbH98kfJUfC++j5l4V70Uhm/RfCA2h9rkTXoWcGjaTRC/rTSYAg0jciMKfg0ik5t+OtlOw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.34.tgz","fileCount":34,"unpackedSize":114097,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWGy3LIDBEvwjvjk4n3AayRSW1uveDJpQfPQFaDkv2OAIgITHcypqsVaJAjr5RmYwAdOafVkaTR/3TvaXtV/2qqiw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio1F3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmom6w/8DaZDl9JDU00c8Pk/5pG5EWnGNDsnf06XAAgDyi8cqo7FWfYD\r\nTtyUIfh8W8P1pOzuOwu4rIsFwYlAii50/iOSb+dnmQypXOAiRlbeR8LZdfQs\r\nrHpPvC5PdQzZhL9bxiKSgmAw2wWQg8/V0DTEUy/xy7BT1Hkk+Hbu6IZGSznL\r\ne3ObIMletSlN/lJpBW2bMRHt2w+KtM4cNUAKb++WdiB+3kpgaSDwYVNd4OFx\r\nP72NNRFaBPRM/j9jSKU/17ZNeW0DQKfXu1ZmotA9xvbLK6JKks4TRwJ1OSev\r\nbJr5kQ+sK43redkbIQlKKZnHQ4L5pV7cFkC5fhuBdIw1VJa4IiUFjwKCnPFp\r\niowkmBqrREuyRRVznR+TOJl9HbRqfltiAUGfqm0UWrOium+fE0G3OGqy9ZFB\r\nS1ttMUet4oEviqFPWWCpbCP3SydCtil1kJ/ogD2Z114u5B1gMVgDwipNAoRw\r\niIieGGQCTvqZcWcGuIwWetEv1DNA2zTPKC7Pzcp5bV9PVghsWp4T9U6dt1MQ\r\nCwnOOVO5qjEp/SakJY8JBAiw/2eDl801FBQM+qn55e4V9Y1sbyTcwUmz72iO\r\nydRgTyGCoLmIEysNcTV4cC45lkuvDiSAo89am4PIWwT0HMc0zkdEbRCJkzlB\r\n3i77/b8C7WWjBjVT0JFvkWsLo6KdrqWJRf4=\r\n=fALo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.34_1654870391511_0.8496117296919588"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.35":{"name":"@hedgedoc/realtime-communication","version":"0.0.35","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.35","dist":{"shasum":"1b1e40aae0f920ada94ff304f2cf5196d6f15161","integrity":"sha512-9NpGwF91dsT6+9quiMJuoVBFaw3fzFFMISS59tiJRd02EZNtk/0dDlP368y0PDHxYKNG5gD5yFF8JhMu4Uh/zA==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.35.tgz","fileCount":34,"unpackedSize":113992,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEq6FtTxSALkTDJVuP5wa3B2fUPoOd3f5NMeJ/0oWYmfAiEAxLxLtW6V+oxKeqT4xPf+ssARXOBZeALX+GEdSKILgKo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio1UsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodjA//YLzcm2XbHIYUAJt4ciuS5RsZCycmlBUrWd06cZ7DXLQlxzTO\r\n8H0FfksUW2vFuzkwhm/ISgXdDaxMD4ek57SQzRLMr3gIfzLwlU1YEdoayUZT\r\npURLRfmVU1xHyIu0F8nEOTApKDT+oeAHVfutSPQQtT5jOegZGyccatsr0Lem\r\nNiBo+ooHhF6z/JIZR7L0bUpSzmdiax+JXI1pSIH7rZ/PGgg6A4ElGeOf+NEM\r\nsrTLiDB/r4MZb3zUQXsrOOm7JdeJC2/GyuXz7Fa9LIq4jvIXh1zLN1tt861n\r\n7CMhpJVjXtU9Zr3OIrUt6R4ddmsVGZjK9kWzC3/CT8GSO92bkJrSHyIqThje\r\nddOgVTn8KDCndO1gYLXVmM8pWng37oRCPbHlCXL4upkuaEL4GI+5yWgM88ss\r\nHd4Qns1pw204pSISfk1T5hic9DB7Zipv0BKyBwNKT19L/LhmyLss0/6Df450\r\nQL/qczaYz7cDmmT+5HdNUAqpU+IrduIxcIE6A/9191TbKGVa/lnXiZ/G4MmS\r\npixb3w5SsbbgcnffyovFIt9y+eduN4LsGY32TWwYz8z8cplK2A1/Gum6GhZl\r\n5HkTF1aJHBL0vaRouPovX9U0dRO88e1fa63T2WDEHLCvqJcdtyCT0mW4DtT0\r\nhixrn9ye0LdWljwYQCZnQCqMTSaoe+HQ8IA=\r\n=w/1n\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.35_1654871340292_0.9570847564021912"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.36":{"name":"@hedgedoc/realtime-communication","version":"0.0.36","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.36","dist":{"shasum":"32b5e8747bc4c87e4302b727983176af0af86980","integrity":"sha512-1ZRN8eLvc2dK7GC4rBwYoDDscHATxbzNQvZ7qCwxYj9EVWxcQneJPh3S4zxW424eI6gN4ykU06Iu2OEkQUhMnQ==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.36.tgz","fileCount":34,"unpackedSize":114289,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClESCnG0Gu08pHAYF/6q6J5tUv8M4wfvmWnwwP/HC9xQIgRdslYUjHtRTQHWnl10Ah0329LxjdtAwOkg5sbXq1FyI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio3gTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSqQ//TxFf+lLlzgTu1fJR+hoOusO1QVTRO6X3zPbNYEhrMHWrWlw/\r\nF06/emmvfQdaTFG3STbx20DNF7yXfwwS6Y54PFmAE/8Y9dfKULMJP2K3owNd\r\nwtritDYIknuI/AHIrydNyESk21lAvyMialuBNQqBrWmJaXJ/H8hbKXaalwXj\r\nejzV2zHQxD7rePZeZAo98oZqjFT0JvKfeGyjs4kbnb6MsdtMXRvuRBVzfocD\r\nl2wstRlZu11oyfdqjuJ09A7VyZCWrwxzKeiNEfobu/QB3VUD0QnoSSfWHddb\r\nYUA/POrphmih1j2hyKjAMn2octOSbrYlElJewgGIghlecZZJvak0mrASlwxa\r\ngpypZ2bLGjAAOO4QyiQQy0+5VEC91jZUaFa5CpIyIf6ZjFdfQ73j1Au0nja7\r\nAprTz9hJ0keyENIutaN3jYkv3m1vyiY+yXmQ9WzMElDKtUlR2MpPFdFM7dIs\r\nSqTWad9eu1lFPo7P9UnLsnOHl4flr/NtS1KCH5pojgAsQKFeTvim9HdK/83v\r\nmdXu/Z7ZtpX31wh5H/GWjgav1CRyvRjB5tWnaet1EoGUGdYwzGgt5GfYEGg7\r\nsqA8h9+yQbuRiToRtMpuwF7F/Q43SKQa21DmUJzUUZAb2zZrHEVH8CsAgfOe\r\nRm57FgaPa5FGgVa1L63EEVH5jfD8upZ2hqA=\r\n=Pl/h\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.36_1654880275222_0.3923483777443719"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.37":{"name":"@hedgedoc/realtime-communication","version":"0.0.37","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.37","dist":{"shasum":"add4032ac7c8ec984d92d3110d4787e3f364efc8","integrity":"sha512-ZzFdjoZiMHDoPMpvBgCSRcs2fjKsnfTjjqy3jb3/cTnnEZqSyNXMDYvv2WXCyXzXC6gOw6R7bGg0KzD1P5Ymvg==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.37.tgz","fileCount":34,"unpackedSize":114447,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAXk2A2N2WpimmAzPJ/c11pydmOJGuQ9QPh6t0zrISpQIgBMCKoQjbQ31/0MoTF5TGuqtJkwDK4F9ryvN8bqffs1E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJio6UyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1+RAAhE/M7764r3jcezw5aWy0l0ISC+U9U5UOn9M/Q49uK3TtQfxl\r\n45StZyEPhcM1AfxmQUwxBxhRLkVHgZwMfZuDD4X5z7c9vezKUUgOm8+uJTLY\r\n82igc0SR+r4dYK3IfoyOx+moFgYNcznhlb4Ent/10mr9AtgSRfBm8nmpsnyQ\r\nmYzIGs0fctorZDCHoMs8Q/ZS+dzkA8vPhd6LrNey6/jiaXuISLPSjbHU25Ys\r\n1T8YuWL0SBvvK7xN8TXJuDjXOqRhSyPlvSitCIPGMuWvIMpxaXIMC+YYNl/P\r\nXjdMZL538lxeiSvSUEHVaU1TgJSlTwYf7+mce8RD4EMvhgUwh4hXM9kxPj8B\r\nEYvxQRkx0nP1G/Spl0UwxJjsHStQsThTw7fczr3aIHKCwZvn+sFB35Rv1KcQ\r\nfM7heoYt3iL3JyWPtuLVvaC4AanqomqWL7WDbzcDYKfh2PZPi12qmg0tEGoI\r\niRO6BW1gpXhCMpa6pY+NmFK9CXnH/Tde7EnHDZH3zvn11i1Q+2RiATxwksrS\r\ncpwn88dofGirjAaUxzC0PeLyppvT17kSVgeowYBpZjTXA/8z3vgeN+kE/knH\r\nGA8ntSkvbjg6w23z+7vOtSF3Yjef2QvLsUu/yTS/Q0ur7PYmEE41lzgGFx8d\r\n3jahko7dHz50WxpS4xrD4iPwyq0mggVg/Uo=\r\n=OG0O\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.37_1654891825821_0.04903054789540229"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.38":{"name":"@hedgedoc/realtime-communication","version":"0.0.38","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.38","dist":{"shasum":"0a3c017081e242a525bd204ab743153d54c26bf5","integrity":"sha512-kdID6gcR0FTY39z4gDfTAWmqObsxumXaQhnWhHTHEUMGeeFPU2C1A3CBngIKFCGtkPBwWEBjQ1dPS2FhyFAlHw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.38.tgz","fileCount":46,"unpackedSize":117483,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjFNYhxl/yWZd34orxAn5/q8cOqJMQJu2dCEXnYLUtSwIhAJJJ8RJc1AQb3Vzrq00IM6rgiMbff76mOiK2clH4n1MH"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipP6rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrrHQ//S/IWUm5hc5gox4glmvOzg/TK9fmEm0PUEiM3GwuzaeUawzUq\r\n/oZ1v+VitCZp3k7jHsxk8AHZKPdGmsoc8BoZ0Jwn72s7CdQqkWquSXWXxGME\r\n8KSJKNPtf6rDl/2vR7ZOEWa+poH7JRmXa6akUmGnG1uu90+ukoTg0ySDEvrH\r\nXxyj3Y7po4X6MXNb3qNAe+gJ4suqf+vBXBuPKUyiIhjJ9R3Xo6rLbJCKELJS\r\nfA+znqPX8Ojg+dI7mUMnLp2MT18XeN8b17VJyLDbAMPnnf+QrObiKx7/C2ps\r\nsusaGyMRZC40sDyNKyPgaFfe2WUKc9VtvjmSp6N8/6c/R7m48dsaB/ieyrWP\r\n8TDUeqNnvXcG/u7K7v1dhotwLQ6LKF3ODtfp6Cg3PWtmdZOW0DV1/KeUFKpM\r\nNktpBLqUNqkABo/K9h1RBQ6YW/jNRfoIDNGXbKGD4JboBYhFJHkwi/1ikVK9\r\nMTg84zBEiElYeJO+WKh5JNFKB5hP9KISw7dCQB+V3qtOlzrBEfV4W0158cVt\r\nqOL4Uqry5ghHK9CqhIrVKpTcGhvC5Jwd2ovmzIGOTMuiGA69yCrERX1Slo6E\r\n/igb9zUnMrr5hpS0xABljr4akYBROeE/EP8MJKGZDfH9UF38z1zgVJcNOBDb\r\nbIxr75fL9RTL4HBIx0KnbGtLERthBEtGR7M=\r\n=qY1Q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.38_1654980267164_0.8951071777833899"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.39":{"name":"@hedgedoc/realtime-communication","version":"0.0.39","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","main":"dist/index.js","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"type":"module","repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.39","dist":{"shasum":"88627637157d8fb41438b4be206d9c01455bed70","integrity":"sha512-bUocMSQdp/0aKU/PBF3ZsOoyP3FfnL7zXynV/vwUZ5yfsIks+9Ikuo+SxvuPuBU3N654HcaMTtSpBzKhEFRCLg==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.39.tgz","fileCount":46,"unpackedSize":117503,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCceEVWC9CyauMDFjrcXf8gSsEw0vybEiH0MQPlfxkmxwIhAOeLqpoUFxrSvBJ3f/UJGFy+gElli5PA1yvk2K+9l/is"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipP+wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDwA/9E7MPDaXgYV0JK1XfLMurR0agg8v9v8H6RQnI9fMcqlsxhWWF\r\nL/d8eQfY+GJfctCk4nYV+dwI3FnpFBYcK9WB+IVhUSFuf3LUqlNouu1wo32r\r\nn/IBLNmD9iPQk6bdKoeg7uBUg7Ss+ZuJ4rMWESj3/M8CrqJO4Z8UsK4eU8aB\r\nukVXhxRDOaQE+is4swCboLBg0b99LR28M/2Zw0/nQNYsmE676fGRXpHJvbB5\r\noALJ+Gr94WLw345xSyJJjnr4M8Ela5LlUAy/v4+FogoBPKGsVb6rqSMzNqkD\r\nnQWvVTqxhorAODVPOvwDWJnE7uPPz7Mi4epgX/so71IKpHVll2fBhwyksbAJ\r\nx40ORdfcnj6jnAAD0fnXoThqkb0iBSYzYIxxAoGBFH3cahZmu4s80KTz2kLm\r\nytDQJbuLETQz07H8wucNZQutOmi9yU5bjqTICggIRFj7U+NRPg7uYSCl2RgO\r\nuDuSnTlf6nvsN+0xjdse+mpLysm5zCFVdfcQZXTospRsT/zBhipnU0tqcJe6\r\nzV35MNGg8xuN/GqNw8YUtMnoO61mfz97tBNdEtHaAjheEU/7K0QjWeArnJTs\r\nnsQKV6BcYW3fkbVJfglWabpJFn/kOy0z1aVNVAg1SGjP155Et3qb7l+Mu04m\r\nQfYz7I0PBxhlVlln/DLx8/DWLjhsbRGYSwE=\r\n=wWUw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.39_1654980528646_0.8239171134146848"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.40":{"name":"@hedgedoc/realtime-communication","version":"0.0.40","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"type":"module","main":"dist/index.js","exports":{"./*":"./dist/*.js"},"typesVersions":{"*":{"index.d.ts":["dist/index.d.ts"]}},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.40","dist":{"shasum":"79865ea1cee5860ed71711798953b57b3f5669b1","integrity":"sha512-5gj/DgAhgsAITi4tofI4NJTv+hxPWvJyuOXWyo9oOSMjceYyTFFHRajBcTi16+dxl9DwybXEdGYGMgnrCq8gPA==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.40.tgz","fileCount":46,"unpackedSize":117353,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC3SUkUqtwfeGu09msTHz1aKY2mdqxSrxmJTqfc5QZs9AiAxGyu4SSpkuzfN01L0gUG/wOz9Qjq/e/uNQsxIgoBgrg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipQPrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6DQ/+JIY9VEy8Lx2tOR5z0EHD6HY/VL4jVsxXCRGm6FprUEWWZW+/\r\nYFcLpzo1nbNUWFhdd7rfm92I+vU0Pjo7ixFbbGgw3FEM2l8A+uvnUJghd6va\r\nk1but7EIzsReciQeGvyX+zE4qZ/q9WOR4saLoty+6GjKRLzgs5Tvq5N2ZWZv\r\nDpD6sKw4RfR0Dfy8xW4rVVeloPtdK3FY7J5/uYjsfAcLP5mSs6PKK23g4wyY\r\n+bZ845USCaDHk7KXUgfUcgsmDZcCeGJxjkGwszbNlUl7QXDu/gK+xqfS/TOO\r\nvwO+3uzSkJVtNtiZyA625j4KlkSbvOego4G5pVT38gANk8MA+VdbuM3ubAky\r\nivd7nwBvpznWJEBAcTeSkwc3/gHXsKZ2Xz4hTdOLkCerRMyY+z7gKmV4kGeR\r\n7T/1zJYzSINephZKRRhWpDrqoP1qBF5OBUjjTzaETE+ywEwdj+sg2wrXtmDT\r\nrCBNhGpZ4pUFi3SgRwR9hqdUzzCWDwEAjKt4+rb68XEDIvYCuh0TxuQVPpQl\r\nVk/FCofzDnanxVQOVUqrZ5O/nSfC6EElg4VCYTYq6yvZqSzg1yuzq3lAkh0j\r\nhdVgUgvWkGvapX/hE4xpDV1bOvCS7UeEwz98ZZi+okp8y22zTXgEOnjxVEus\r\n5AMCagLlSTZPJ81G6NI9mnNXLsLHU7yoFwM=\r\n=CzMx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.40_1654981611273_0.25222894959825615"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.41":{"name":"@hedgedoc/realtime-communication","version":"0.0.41","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","scripts":{"build":"tsc","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"type":"module","main":"dist/index.js","exports":{".":"./dist/index.js"},"typesVersions":{"*":{"index.d.ts":["dist/index.d.ts"]}},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.41","dist":{"shasum":"d57e12e77486d9760f31a41434d899f41f156422","integrity":"sha512-BV/W+hyjJ73juZOJjNKrXK6d9bzddJt7oMAcit1ks0QtviBNtU+0S93LSmS6/ieEo8qdIF9clT3RCsm4x20CZw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.41.tgz","fileCount":46,"unpackedSize":117355,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDxi8cB8bNFmo4kZz9j6Ihs45XShfF8l0cdwcVXwwMImAiA3SCNBSLFqhJyDLz80jlRWpTwiqoYO0N/w92XaAR6bLA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipQSqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTww//UahieKYoVPPDCBmHmqaT39RnpaCSfzf6pkyoR0m4Q7F6F0AR\r\nT949Z4qzROkfGpse5ZB83vsiy6YaErCcKkZ5Qp3pCLvB6TDOVsZZGDWQv8z9\r\n3ldFx0rhaRFKJQR9Pvoxsd6t8Da6X8VQ9sVrvZjZvTnYypzbC71atcQtiL6D\r\nr+ccAUMsPaJ83MWczyJSBhlfOeZ3zQEbBjeVLHB40yJ7mFTfhSrgVwbfj8Fu\r\nltvHE1RcK6KhpJ/rbOgMtBXtNEzT+hflw2C7uihDVymqDQhFXtelYmGMo7EA\r\n+Nc5I++UTV8rGtmEHSOqeaiQz6I1Asu8cIZFmNP7G+26r9Ajlsm1gJuXWQhx\r\nF32yrfhyC2f2SZ7Ae3cNv6Z9oG/hFtLbqLIXiIX3q2hLP+uLFrMquRh3ZNhS\r\nieXKvT0WNyhFhyIx+q5mGx2oueBzTfkLvixSAJUBFSs1IEHskV+5yOYiH7G1\r\npClKcJ4T/S0/ysJ2l64+3jn5WMfHfu3syfua14XBCt5sGKjB8hQgL1RSZg8k\r\naH+d60K9j7wFtDqOT1OZXb1hJTuYFl5pmwPmiIw4TNP2z1PVymv6P3BqGrr0\r\nmNrjmftcpUSRxGLndTYW6WotPTKWCpewQ8pM0TaPTreILcVTrrvR+qezH73e\r\nKTR1mGj6tqjHw2Cv3JqavbEybplDPT26aFc=\r\n=maVC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.41_1654981801617_0.9128954261155771"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.42":{"name":"@hedgedoc/realtime-communication","version":"0.0.42","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","scripts":{"build":"tsc && tsc -p tsconfig-cjs.json","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"type":"module","main":"dist/cjs/index.js","module":"dist/mjs/index.js","types":"dist/cjs/index.d.ts","exports":{".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.js"}},"typesVersions":{"*":{"index.d.ts":["dist/mjs/index.d.ts"]}},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.42","dist":{"shasum":"58d5eca0bef81cac92cac5e3517a89d5f84ff19a","integrity":"sha512-lba123woR5O47NjFKu/ePGftcoAPpoF3gxnzmngW7zXI3L5jWxjNa0MjdGdlvroBWJqfxz+HbZWxJng+5M2Fww==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.42.tgz","fileCount":85,"unpackedSize":145125,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO5UDV0hiTy7mFvuVqgaNVFID1G6UPLC5Sw5f+6tg2SwIhAOQuGoc4w1173h28QJbPoPBFtchb6yitPp3P2etLyiGj"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipbfAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrAGQ//QXRSqGS26CZQQkihMtSWqV6JHvy5kSOqjtADn5wBXnmnclW1\r\nsRbs/NnDWsVD0Lv+Gcn0OIv03qHUmIW0r/UZCdjiDV6oROXVcMXwgBEi9XBo\r\nTLYTwYtSLN2FJSfMffCf9vsrwhzR/cnbDEB8Id42EHDlWTotTzmfZbvlBRBE\r\nt2azo9XMHLhSvzEWyguDinAsTN09GypmLO1NCwOOQk9mr2G1nloN3NISyr8x\r\nNnjpP4km6U9q7EzYPyLyoSfitfA8Yt0HVbnODJ3LW9B1+b3h11pOMvknefLl\r\nFc13jwRgUz6i5n7gc/IppDaC0DkOTvhGh/LFmBKZo2z3YnQs4LUhuJS4AEVI\r\nOppi9njgvb6R//1zZ2+DouiKzGtj8T9b3iKfjl6ZfkbyyX+s8BpqAqg/Ca1X\r\nd3bFjNr4uLO6jL38DRxZYZK6oZCf4MeuoXlsuEisvdXvTxJgTsoY4j+kw9b3\r\n9NPMRol8aA7WWtI7dxeKyGy9Ddvgcag9RrNs8ZdEdKjIC+5GsUMYPMGAC84Z\r\nSNtZu5j0tXF5QXt1CV5wdGj41CD0sz6EANbMy1l0Ufzt0KOECapWq9KkzBBr\r\nKu0M8r51rMLGVO/Xb/McL3XlhexQTkUmxkh+S3mGVF8fNmfaxGk6oTq/REyR\r\nToM7Pkep74RcklKIUWP5pRWDAAZSrI9XgNc=\r\n=jobl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.42_1655027648139_0.8248091444894108"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.43":{"name":"@hedgedoc/realtime-communication","version":"0.0.43","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","scripts":{"build":"tsc && tsc -p tsconfig-cjs.json && rename .js .cjs dist/cjs/* dist/cjs/**/* && sed -i 's/\\.js//' dist/cjs/**/*.cjs dist/cjs/*.cjs","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"type":"module","main":"dist/cjs/index.cjs","module":"dist/mjs/index.js","types":"dist/cjs/index.d.ts","exports":{".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.cjs"}},"typesVersions":{"*":{"index.d.ts":["dist/mjs/index.d.ts"]}},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.43","dist":{"shasum":"ca93bb11283e90489a422f4d0b354809d2da5498","integrity":"sha512-FNTPSXaHFEoR6dvNJcsi7Q/A+4esm2KlfAk/N7DhmG3vhiPANlwC0HUTQ9Nv2+hXPscT5x7WVpIDPeeza4YDmQ==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.43.tgz","fileCount":85,"unpackedSize":145124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+bO+v0q4m3aF5UUzrbdh8TQjVpLYE+Y1lPTYNJsMdPQIgSN56oTCADtSNGx+jyjxa+kjTML99CJyuZukJ16YCo58="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipb1HACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmomNg//ZJdVxNwU+HOze8ceU5XxVEveuSc3qSmDaHIt1IAj+CILw5nz\r\njAST6ZcxPYREB2okkylk9O9HfZerpyZWYYVAkLGaWLXfO62AHCAMkuidJa9U\r\nKOvc/WAvTk/2dPcTBVj1p93YgUbJKDSFIZFeAY2ccoaEsA64Uv5zBO9YeUgS\r\nARPrw4RU6spiArO5GVUhbJNY+7keCXhVa9E+d/Tjbtjjdz6nZyq7YTJKr7y6\r\n2heSs08a/6YcEek8sGsBse571A3Ba/bTg25jG0d0xg/8SzJFz+Iky8c0cYMq\r\nps9qHbjfhKVjCC28t4vxF28PDgTFPU0G1wFp1ma8yTPM2aPU24tR5UPGWLqh\r\n4fHC/OArzQtk/UnfIwlwyWN1nOLfecOM5DqxQt3oLMhRF4fTMwUuNB4pHyRY\r\nQ0lqSdL0MsV+XO5Dimlkx6De47NMCmHi5oC5UqNiIdzBqyULirDyd/IfQh9m\r\n7hIokEWTVsAHLXgL2VFsmfjMbdqvUUqLyUImjoG+896FgDft6lY7NrJTMHwk\r\nSXclfA29JfaC6b+lDhmEotXG5dH3ycVYU+PBXqKxmakTvVMZFVHyl9nh0T0+\r\nZRdh3qXO4a+/7TJc3RpsG8ypAQpPyIjexIB5n4znI1e8mYvuJiBhovusUbP7\r\ngc1rpRfm459iUBY9tJfLFLkJNbfSDaS7JJU=\r\n=nRf3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.43_1655029062870_0.40371469729683374"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.44":{"name":"@hedgedoc/realtime-communication","version":"0.0.44","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","scripts":{"build":"tsc && tsc -p tsconfig-cjs.json && rename .js .cjs dist/cjs/* dist/cjs/**/* && sed -i 's/\\.js/.cjs/' dist/cjs/**/*.cjs dist/cjs/*.cjs","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build","lint":"eslint src test --ext .ts","format":"prettier -c \"{src,test}/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"{src,test}/**/*.{ts,tsx,js}\""},"type":"module","main":"dist/cjs/index.cjs","module":"dist/mjs/index.js","types":"dist/cjs/index.d.ts","exports":{".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.cjs"}},"typesVersions":{"*":{"index.d.ts":["dist/mjs/index.d.ts"]}},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","testPathIgnorePatterns":["/dist/"],"moduleFileExtensions":["ts","tsx","js"]},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.44","dist":{"shasum":"b156e3f8a38c6aa37894c33ef6a534db49f25ec5","integrity":"sha512-ri48PWyvFHOCjSJOlMrwj67b/kzdiqXPYZm6ML3OoNmcgvxqk6SaMNG9jDuMsKjr1xhu4NIrJpwZ8aIX13ESmw==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.44.tgz","fileCount":85,"unpackedSize":145264,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnBRzXZQV9ISWBvv9pa1G3EukjNDrtIVXKwjz6U59H1QIhAJwgp62umt7UgUo7b5ukBTzooesnouWlKOYdkAbS+6kf"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipb3DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPkxAAoh9xrC4I6Y+seBdnHSs+/BlahNshEDC3C9kpj8aPYaN83D5s\r\nDltR6LY6Mk6kyWcUqYvur7cQt+0IUImZ25OWRTdBxKEa+ZxvOxE1Uxo6ovCc\r\npecBzzmK+bm9dwJ0GN6u7RuuSoGrkXleUaHeGlO544cW4pwnVvNhv4qECHlz\r\njkTegTlN1hI6IYAzwqLcG1FljUxHkfi+qPaqlOmzagQO7E0kUszmSDGVwBM6\r\nlnvb38iTIPa+8OdoL9t2LERe1cHEpx7UPuczaMHhieRfLETIV5sB94K6mgMW\r\ndKYiV4gHV6o32cCmuMXHH9JI+9yL3/w2Cdi5AWLmDOmyCF4oMcwqFC9d4aWe\r\nRnff3x0EWQZtnyKBHy3CoSMc3LyxQJTI/n+88/jAr5jEYcF8aLUJKpfE0K0f\r\nx0XUoa9cauWcrEYPr+reCZTVaFun5WvpHtAahB6LXx3UKxsmlpTge4yx9+EY\r\n+RYOU6JLud6odwx27Wf0MIFAcXZTGwYlHh8QbfcibaIoVOzTng9X+r3DcvbO\r\nXkBe8GfvmXSdwtLkyh0rRZtago0nw+Nfl53dPjACiyLMYR5ssw+8cXCguuZr\r\nO3leK+a9NfR11m1H1pZw6K+NGlQmsCS8rgwqWVmtUqxgSZdjcVJmW7UC096U\r\nJJ+ziNiIFVxeViP6sSM0DoJXWWEG/4yTqcw=\r\n=CBR/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.44_1655029187127_0.9474205750564"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.45":{"name":"@hedgedoc/realtime-communication","version":"0.0.45","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","scripts":{"build":"tsc-esm && tsc -p tsconfig-cjs.json && rename .js .cjs dist/cjs/* dist/cjs/**/*","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build && yarn test","lint":"eslint src --ext .ts","format":"prettier -c \"src/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"src/**/*.{ts,tsx,js}\""},"type":"module","main":"dist/cjs/index.cjs","module":"dist/mjs/index.js","types":"dist/cjs/index.d.ts","exports":{".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.cjs"}},"typesVersions":{"*":{"index.d.ts":["dist/mjs/index.d.ts"]}},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0","@digitak/tsc-esm":"3.1.2"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.45","dist":{"shasum":"d144fb5d5bb6cc2bfd3b0ff3becab01870344db3","integrity":"sha512-i4fAQO6nChX8A1u3xBueSWU0bn8uP78tgmKRPfFp3/r3HbxSgYjbST2p3JbyCWuPBO637mPGatPb8sxXmYzoEQ==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.45.tgz","fileCount":85,"unpackedSize":149311,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJ++Gb3iSQ1zy3WuPplsY6LdkOCfkkQTd/SXmh6CLS0AiEAke8uJBHtbMx4njJsdyNS9Qd92s4GvLeNtkh41soM87M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipcuQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmodBBAAmy5hgh4Zdi58uEIMdFAPTiCPNnXX90iP/OZM8WX73CgUdgMi\r\nq4qfhkr028+vo4c+8bRm7ghcrj/GaQt6KOzHcxNiD+v7jui8G1p+OhSlgXkV\r\n/Dor0en+6PXwzDoBxSqw+bzYGNIRVbz9bfXZ5olBNO6kOXTMaJ03ZxWt62Jc\r\nG9o0faJv4YV4tM4JKx04N0zGRSqfHoezzOI/wHZLGmPHOeLlNKNGasAQtscY\r\nDEf2psNodFPhzRJcAFijNdzqsf7eOZjxU8zBLWSN9cKSKeVPoc0jCE6BUnDU\r\nRxryK1+u+O8eYACYoPaCQdV557vIRkm2GVwQLv7R2LunPYsziSW1M45kuGK+\r\nONHIxHEo0Rju9AdNqnv0jwNxstPBXzhaTPvShrJWcjGk3xyAVQGvNXlja12M\r\ntGsXmygi7foiA6CQbWEQix+MnmSulAIlSWXNtP2eZcfAKhjwl/HCPWsaJl1D\r\nTmQyNSKLKRVTdvwtFS419mgd56ryIvPghQPGoQ0EBECh+hRjx31m6HLEm0v4\r\nqfH+GNxrIb2+CiZOnPHYWcBgtld2ZQD8LqLQHwNl1yePwdm9pNzisJ30TSHV\r\ntnb00cc+8Bk8ppKcKJbYXhfzqWGb9+LxLito/9uH5crEhaGJOwmvl9NXNIwA\r\ntWsEcXMXWCupIlhgRANVzq0hKg892IGcdws=\r\n=tk8X\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.45_1655032719786_0.45669189601631377"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.46":{"name":"@hedgedoc/realtime-communication","version":"0.0.46","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","scripts":{"build":"tsc-esm && tsc -p tsconfig-cjs.json && rename .js '' dist/cjs/* dist/cjs/**/*","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build && yarn test","lint":"eslint src --ext .ts","format":"prettier -c \"src/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"src/**/*.{ts,tsx,js}\""},"type":"module","main":"dist/cjs/index.cjs","module":"dist/mjs/index.js","types":"dist/cjs/index.d.ts","exports":{".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.cjs"}},"typesVersions":{"*":{"index.d.ts":["dist/mjs/index.d.ts"]}},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@digitak/tsc-esm":"3.1.2","@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.46","dist":{"shasum":"9ff4a7ca484fb743b773efb61a26cb07aeee1d04","integrity":"sha512-DNv8hECQlHhzOe11Qz5lkWeV4GlbhaGyLiPYOJaxNe6It47N9EoOjBDlLdKyXUo7xFsmp01DVZzYekupXnQ//A==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.46.tgz","fileCount":85,"unpackedSize":149309,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJfRoysvIUAiJwVaAkseQh/B16uF0Vt0hxBoLgwqHWzAIhAMvDtrq68IYNH1yqbieMXXKxBMyEzlMZ3gPFGcsCq4tj"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipdIJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozhQ/+OUhiVDemVjZ0nmEv57NsDYypUm/kBsfCs0booEoelCS6pRbE\r\nEsxzOnEWBqCg/szUe/cWWLDj/05EciN9X3MGQ2uE87BRGtkrq8VyIOP2+63q\r\nBO8CGAkONFBuySUr+0bNyz+IzT6b1aKcmi64HLyjfMTJ5/Q50l7L20KE1mpi\r\nZ0M5RcpmngXC0c6uLM2S0UO4K6IpZKAvRSoLCTlPaymj6RR/0ni7zl/WJJQ7\r\n6QtCygnv7DkM1Qau/XMsEBo+X5/N0TFYKOs2ZHVy+GxWXM5Q04f8v+KtSxg8\r\nnjHSI9xuGTa7fo9j1AprtqECzVbpnt89Sq+b5wOGx0ExKtjU7BpcTrJCtzVz\r\nSJLFbWfT1tAYBVMAEO65DqxSsrGT893RpQlsHp8iolmRRYOF2js454MnOArD\r\n1959N6x/pG0dSeBzTcGzd3X5JFTfzAvdmSAq0CNKOsQGjaqaFhOhNFUmOpFh\r\nBvxVMSHCBbGMFQsGMrpvAFi2UDBz02jI9MbhFQdozhoZZ3rHw9CuDCaCKRZg\r\n0RZD2tMpXep9sYr+sSSUx05m+3415PsAGd+AHBUumwYFiJEpE4vmSgOBIaCy\r\nR93YhFXQ/AG6K0cyuQvEVlUDc9b7i6+DMXRlGkRaqKUbhWCNVeSy2Q1UGrAa\r\nze8+Qg8SdwKA4egNQtCucrlFNvRhbtSA+IY=\r\n=Slh8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.46_1655034377082_0.03952379615871271"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.47":{"name":"@hedgedoc/realtime-communication","version":"0.0.47","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","scripts":{"build":"tsc-esm && tsc -p tsconfig-cjs.json && rename .js '' dist/cjs/* dist/cjs/**/*","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build && yarn test","lint":"eslint src --ext .ts","format":"prettier -c \"src/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"src/**/*.{ts,tsx,js}\""},"type":"module","main":"dist/cjs/index","module":"dist/mjs/index.js","types":"dist/cjs/index.d.ts","exports":{".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index"}},"typesVersions":{"*":{"index.d.ts":["dist/mjs/index.d.ts"]}},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@digitak/tsc-esm":"3.1.2","@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.47","dist":{"shasum":"e921fe44f23c11c8568ff0c278de11e28a8dd1e3","integrity":"sha512-jq5sctOqNEn7PxzGglNTTKEzVQ+1/3VZRGu69yT3R9+yPguW9JhktE/koPoYbAprw9K6jgMyMm5MKmjVvNCaSg==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.47.tgz","fileCount":85,"unpackedSize":149301,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6qyLClZJ3Oemkv/hgS0NPC/yoGlE9AFgnOJLFhifrnwIhALs1jfzUXOc6ORZnvgjp3LymIC+BA5DVZR1lHXcC22Vj"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipdJHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQMQ/+PT9LVxJYYI7EYkNkdxfwctQl9tyLNhUN7bY8EIBVcgUIwpNd\r\nfCpNMRebh9yWycF+BEaIe2LQMwrH588lP9swO7qCRaXQVcps1ZsgVQpW1lGc\r\n8xwhQGYjA+oXmlurXBEXeIkDNLdiOhEzOTivdPth8UwEUD/i9rVH4KlGh2Ml\r\nVm8MHI0hx9IS/U5+abwAQKDzwbWyblPO5wEVQL0MMTo+qVVOZR0p4Aflv9WL\r\nfqT79cnIr/GQIUYOYYhwyoRzS1kpKjJ1wvetVqCDSDIONhvH+5QxWystQ/BB\r\nikvOR4KSzKGKYj7XydNyt5Zd3WJiPBXINXIQ3YNRdLbBfBElEKl9mcdvxsLb\r\n4bEtKMfKAN3WOU5lhGnY+ByjUT2N986lV3PLeYB8UrNPL7jXNEBjLaUhFdux\r\n4bXcXY9VXeCFViFbyDdG/NgsFKs1GHLl9bifi3tKdtempux6m9RqgujiAOLD\r\nBTSuRRZDKql41ht4C6EnF73ujzNAT+xqh76gvdaRWPPRFio1O4T30vOF7J6R\r\n3RCxxvhEWCRqLxux7fudi80kERURBF58W1MXSan9iZAuloCdegjagPdobA1t\r\nmtpUrFMntpPAuMAXyozx15Nt+VrbPvD7qCVbue+EXbF/s/hoF1Gx/dtAo0ae\r\nZcG/1UgHem7l6W4k6+HuiH0vTMwcn8tWAwE=\r\n=p2AF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.47_1655034438816_0.811846091485003"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.48":{"name":"@hedgedoc/realtime-communication","version":"0.0.48","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","scripts":{"build":"tsc-esm && tsc -p tsconfig-cjs.json && rename .js '' dist/cjs/* dist/cjs/**/*","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build && yarn test","lint":"eslint src --ext .ts","format":"prettier -c \"src/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"src/**/*.{ts,tsx,js}\""},"type":"module","main":"dist/cjs/index","module":"dist/mjs/index.js","types":"dist/cjs/index.d.ts","exports":{".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index"}},"typesVersions":{"*":{"index.d.ts":["dist/mjs/index.d.ts"]}},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@digitak/tsc-esm":"3.1.2","@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.48","dist":{"shasum":"8dfec216f6685cb979effaa936c445a8385a1305","integrity":"sha512-DctNFXehTVn0iuDl4764CkZ5csS+fccjUfH58PUEe6s+13bTjrxO/7arCxQaJ+WnEbGvdglgXqAN1XG2qANA0w==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.48.tgz","fileCount":85,"unpackedSize":151521,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6LKN5AUJ5kcgZK5KqlIb6fTUwkKL7RAoFPdCmW3GI/QIhAMisdUuK68w93YXoDMMBLPkei0JSf8nh28Xwg9PemP1z"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipeImACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpOzQ//XRG2OEdassqU78S2wR1tIKLpFef/7bFW0DKVbMpC992dPbJp\r\nfvON+BJr/QG8N/BMtPWlcspmKi6H4gG8dnS+bjRZ6S6fyAc2Cz9yCt9lGQNX\r\nYhpuc7m+wFPEbEHDHmi5ZNpFehRW9RhesqJrHBF4jrJBp3KYwQn7BKcO4zr5\r\ncClpe18rvJl5kpSVliCgq5recHfSFdOel/YcUqOf9ZoT8UIWElE+kAen/PKH\r\n5xR5G4l4auUMfI8jYVk6dkfp3pBuxjFh3wNzlw6idZFD3xMRnxO2vmnm5n+H\r\nNfPe34wj2UWnA6IIJ0utoA0SK4T0CiNE9PyCoFg2A9HaXqjugkv23EAwoB4w\r\nXSLl9vQMhR89OyqajUATOtUPrIF2NQsPZ+MAAWxC319CKQtGvQPWrOsH4ypI\r\nDKImaLwqbFAgJFDLJ3XLbfhRl+B8wiD8lFFchDvGoZeTY6nVPn3vay4UUtEy\r\nIRW4R8ShhLCosuUHbkpN7xUkRKhV3Myn4Da7WdXeYDTbJbfHqM7OVPvewZPf\r\nvZVd76UAC6TvLTxEtOPamLv3cIn3eg7bS4gN3Co8ju8xyhWpufHJS+8DNYLN\r\nhxlUcam0vB4ZE5wXlIWcZBk2PoY0CHKcVTn1Er6dsG6+tFNsJEFXochWHzGM\r\n88BYTSGLUA4y2xdA6omc6q0PG3ze3Jg9mjU=\r\n=XYlY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.48_1655038501835_0.3319118030682502"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.49":{"name":"@hedgedoc/realtime-communication","version":"0.0.49","description":"Contains common code for realtime communication","author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","scripts":{"build":"tsc-esm && tsc -p tsconfig-cjs.json && rename .js '' dist/cjs/* dist/cjs/**/*","test":"jest","prepublishOnly":"rm -rf dist && yarn format && yarn lint && yarn build && yarn test","lint":"eslint src --ext .ts","format":"prettier -c \"src/**/*.{ts,tsx,js}\"","format:fix":"prettier -w \"src/**/*.{ts,tsx,js}\""},"type":"module","main":"dist/cjs/index","module":"dist/mjs/index.js","types":"dist/cjs/index.d.ts","exports":{".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index"}},"typesVersions":{"*":{"index.d.ts":["dist/mjs/index.d.ts"]}},"repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"dependencies":{"isomorphic-ws":"4.0.1","lib0":"0.2.51","typed-emitter":"2.1.0","y-protocols":"1.0.5","yjs":"13.5.38"},"devDependencies":{"@digitak/tsc-esm":"3.1.2","@types/jest":"28.1.1","@types/ws":"8.5.3","@typescript-eslint/eslint-plugin":"5.27.1","@typescript-eslint/parser":"5.27.1","eslint":"8.17.0","eslint-config-prettier":"8.5.0","eslint-plugin-jest":"26.5.3","jest":"28.1.1","prettier":"2.6.2","ts-jest":"28.0.4","typescript":"4.7.3","ws":"8.8.0"},"prettier":{"parser":"typescript","singleQuote":true,"jsxSingleQuote":true,"semi":false,"tabWidth":2,"trailingComma":"none","bracketSpacing":true,"arrowParens":"always"},"licenseText":"GNU AFFERO GENERAL PUBLIC LICENSE\nVersion 3, 19 November 2007\n\nCopyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license\ndocument, but changing it is not allowed.\n\n                            Preamble\n\nThe GNU Affero General Public License is a free, copyleft license for software\nand other kinds of works, specifically designed to ensure cooperation with\nthe community in the case of network server software.\n\nThe licenses for most software and other practical works are designed to take\naway your freedom to share and change the works.  By contrast, our General\nPublic Licenses are intended to guarantee your freedom to share and change\nall versions of a program--to make sure it remains free software for all its\nusers.\n\nWhen we speak of free software, we are referring to freedom, not price.  Our\nGeneral Public Licenses are designed to make sure that you have the freedom\nto distribute copies of free software (and charge for them if you wish), that\nyou receive source code or can get it if you want it, that you can change\nthe software or use pieces of it in new free programs, and that you know you\ncan do these things.\n\nDevelopers that use our General Public Licenses protect your rights with two\nsteps: (1) assert copyright on the software, and (2) offer you this License\nwhich gives you legal permission to copy, distribute and/or modify the software.\n\nA secondary benefit of defending all users' freedom is that improvements made\nin alternate versions of the program, if they receive widespread use, become\navailable for other developers to incorporate.  Many developers of free software\nare heartened and encouraged by the resulting cooperation.  However, in the\ncase of software used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and letting\nthe public access it on a server without ever releasing its source code to\nthe public.\n\nThe GNU Affero General Public License is designed specifically to ensure that,\nin such cases, the modified source code becomes available to the community.\nIt requires the operator of a network server to provide the source code of\nthe modified version running there to the users of that server.  Therefore,\npublic use of a modified version, on a publicly accessible server, gives the\npublic access to the source code of the modified version.\n\nAn older license, called the Affero General Public License and published by\nAffero, was designed to accomplish similar goals.  This is a different license,\nnot a version of the Affero GPL, but Affero has released a new version of\nthe Affero GPL which permits relicensing under this license.\n\nThe precise terms and conditions for copying, distribution and modification\nfollow.\n\n                       TERMS AND CONDITIONS\n\n0. Definitions.\n\n\"This License\" refers to version 3 of the GNU Affero General Public License.\n\n\"Copyright\" also means copyright-like laws that apply to other kinds of works,\nsuch as semiconductor masks.\n\n\"The Program\" refers to any copyrightable work licensed under this License.\nEach licensee is addressed as \"you\".  \"Licensees\" and \"recipients\" may be\nindividuals or organizations.\n\nTo \"modify\" a work means to copy from or adapt all or part of the work in\na fashion requiring copyright permission, other than the making of an exact\ncopy.  The resulting work is called a \"modified version\" of the earlier work\nor a work \"based on\" the earlier work.\n\nA \"covered work\" means either the unmodified Program or a work based on the\nProgram.\n\nTo \"propagate\" a work means to do anything with it that, without permission,\nwould make you directly or secondarily liable for infringement under applicable\ncopyright law, except executing it on a computer or modifying a private copy.\nPropagation includes copying, distribution (with or without modification),\nmaking available to the public, and in some countries other activities as\nwell.\n\nTo \"convey\" a work means any kind of propagation that enables other parties\nto make or receive copies.  Mere interaction with a user through a computer\nnetwork, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays \"Appropriate Legal Notices\" to the\nextent that it includes a convenient and prominently visible feature that\n(1) displays an appropriate copyright notice, and (2) tells the user that\nthere is no warranty for the work (except to the extent that warranties are\nprovided), that licensees may convey the work under this License, and how\nto view a copy of this License.  If the interface presents a list of user\ncommands or options, such as a menu, a prominent item in the list meets this\ncriterion.\n\n1. Source Code.\nThe \"source code\" for a work means the preferred form of the work for making\nmodifications to it.  \"Object code\" means any non-source form of a work.\n\nA \"Standard Interface\" means an interface that either is an official standard\ndefined by a recognized standards body, or, in the case of interfaces specified\nfor a particular programming language, one that is widely used among developers\nworking in that language.\n\nThe \"System Libraries\" of an executable work include anything, other than\nthe work as a whole, that (a) is included in the normal form of packaging\na Major Component, but which is not part of that Major Component, and (b)\nserves only to enable use of the work with that Major Component, or to implement\na Standard Interface for which an implementation is available to the public\nin source code form.  A \"Major Component\", in this context, means a major\nessential component (kernel, window system, and so on) of the specific operating\nsystem (if any) on which the executable work runs, or a compiler used to produce\nthe work, or an object code interpreter used to run it.\n\nThe \"Corresponding Source\" for a work in object code form means all the source\ncode needed to generate, install, and (for an executable work) run the object\ncode and to modify the work, including scripts to control those activities.\nHowever, it does not include the work's System Libraries, or general-purpose\ntools or generally available free programs which are used unmodified in performing\nthose activities but which are not part of the work.  For example, Corresponding\nSource includes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically linked\nsubprograms that the work is specifically designed to require, such as by\nintimate data communication or control flow between those\nsubprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate\nautomatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n\n2. Basic Permissions.\nAll rights granted under this License are granted for the term of copyright\non the Program, and are irrevocable provided the stated conditions are met.\nThis License explicitly affirms your unlimited permission to run the unmodified\nProgram.  The output from running a covered work is covered by this License\nonly if the output, given its content, constitutes a covered work.  This License\nacknowledges your rights of fair use or other equivalent, as provided by copyright\nlaw.\n\nYou may make, run and propagate covered works that you do not convey, without\nconditions so long as your license otherwise remains in force.  You may convey\ncovered works to others for the sole purpose of having them make modifications\nexclusively for you, or provide you with facilities for running those works,\nprovided that you comply with the terms of this License in conveying all material\nfor which you do not control copyright.  Those thus making or running the\ncovered works for you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of your copyrighted\nmaterial outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions\nstated below.  Sublicensing is not allowed; section 10 makes it unnecessary.\n\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\nNo covered work shall be deemed part of an effective technological measure\nunder any applicable law fulfilling obligations under article 11 of the WIPO\ncopyright treaty adopted on 20 December 1996, or similar laws prohibiting\nor restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention\nof technological measures to the extent such circumvention is effected by\nexercising rights under this License with respect to the covered work, and\nyou disclaim any intention to limit operation or modification of the work\nas a means of enforcing, against the work's users, your or third parties'\nlegal rights to forbid circumvention of technological measures.\n\n4. Conveying Verbatim Copies.\nYou may convey verbatim copies of the Program's source code as you receive\nit, in any medium, provided that you conspicuously and appropriately publish\non each copy an appropriate copyright notice; keep intact all notices stating\nthat this License and any non-permissive terms added in accord with section\n7 apply to the code; keep intact all notices of the absence of any warranty;\nand give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you\nmay offer support or warranty protection for a fee.\n\n5. Conveying Modified Source Versions.\nYou may convey a work based on the Program, or the modifications to produce\nit from the Program, in the form of source code under the terms of section\n4, provided that you also meet all of these conditions:\n\na) The work must carry prominent notices stating that you modified it, and\ngiving a relevant date.\n\nb) The work must carry prominent notices stating that it is released under\nthis License and any conditions added under section 7.  This requirement modifies\nthe requirement in section 4 to \"keep intact all notices\".\n\nc) You must license the entire work, as a whole, under this License to anyone\nwho comes into possession of a copy.  This License will therefore apply, along\nwith any applicable section 7 additional terms, to the whole of the work,\nand all its parts, regardless of how they are packaged.  This License gives\nno permission to license the work in any other way, but it does not invalidate\nsuch permission if you have separately received it.\n\nd) If the work has interactive user interfaces, each must display Appropriate\nLegal Notices; however, if the Program has interactive interfaces that do\nnot display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works,\nwhich are not by their nature extensions of the covered work, and which are\nnot combined with it such as to form a larger program, in or on a volume of\na storage or distribution medium, is called an \"aggregate\" if the compilation\nand its resulting copyright are not used to limit the access or legal rights\nof the compilation's users beyond what the individual works permit.  Inclusion\nof a covered work in an aggregate does not cause this License to apply to\nthe other parts of the aggregate.\n\n6. Conveying Non-Source Forms.\nYou may convey a covered work in object code form under the terms of sections\n4 and 5, provided that you also convey the machine-readable Corresponding\nSource under the terms of this License, in one of these ways:\n\na) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by the Corresponding Source fixed\non a durable physical medium customarily used for software interchange.\n\nb) Convey the object code in, or embodied in, a physical product (including\na physical distribution medium), accompanied by a written offer, valid for\nat least three years and valid for as long as you offer spare parts or customer\nsupport for that product model, to give anyone who possesses the object code\neither (1) a copy of the Corresponding Source for all the software in the\nproduct that is covered by this License, on a durable physical medium customarily\nused for software interchange, for a price no more than your reasonable cost\nof physically performing this conveying of source, or (2) access to copy the\nCorresponding Source from a network server at no charge.\n\nc) Convey individual copies of the object code with a copy of the written\noffer to provide the Corresponding Source.  This alternative is allowed only\noccasionally and noncommercially, and only if you received the object code\nwith such an offer, in accord with subsection 6b.\n\nd) Convey the object code by offering access from a designated place (gratis\nor for a charge), and offer equivalent access to the Corresponding Source\nin the same way through the same place at no further charge.  You need not\nrequire recipients to copy the Corresponding Source along with the object\ncode.  If the place to copy the object code is a network server, the Corresponding\nSource may be on a different server (operated by you or a third party) that\nsupports equivalent copying facilities, provided you maintain clear directions\nnext to the object code saying where to find the Corresponding Source.  Regardless\nof what server hosts the Corresponding Source, you remain obligated to ensure\nthat it is available for as long as needed to satisfy these requirements.\n\ne) Convey the object code using peer-to-peer transmission, provided you inform\nother peers where the object code and Corresponding Source of the work are\nbeing offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from\nthe Corresponding Source as a System Library, need not be included in conveying\nthe object code work.\n\nA \"User Product\" is either (1) a \"consumer product\", which means any tangible\npersonal property which is normally used for personal, family, or household\npurposes, or (2) anything designed or sold for incorporation into a dwelling.\nIn determining whether a product is a consumer product, doubtful cases shall\nbe resolved in favor of coverage.  For a particular product received by a\nparticular user, \"normally used\" refers to a typical or common use of that\nclass of product, regardless of the status of the particular user or of the\nway in which the particular user actually uses, or expects or is expected\nto use, the product.  A product is a consumer product regardless of whether\nthe product has substantial commercial, industrial or non-consumer uses, unless\nsuch uses represent the only significant mode of use of the product.\n\n\"Installation Information\" for a User Product means any methods, procedures,\nauthorization keys, or other information required to install and execute modified\nversions of a covered work in that User Product from a modified version of\nits Corresponding Source.  The information must suffice to ensure that the\ncontinued functioning of the modified object code is in no case prevented\nor interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically\nfor use in, a User Product, and the conveying occurs as part of a transaction\nin which the right of possession and use of the User Product is transferred\nto the recipient in perpetuity or for a fixed term (regardless of how the\ntransaction is characterized), the Corresponding Source conveyed under this\nsection must be accompanied by the Installation Information.  But this requirement\ndoes not apply if neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has been installed\nin ROM).\n\nThe requirement to provide Installation Information does not include a requirement\nto continue to provide support service, warranty, or updates for a work that\nhas been modified or installed by the recipient, or for the User Product in\nwhich it has been modified or installed.  Access to a network may be denied\nwhen the modification itself materially and adversely affects the operation\nof the network or violates the rules and protocols for communication across\nthe network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord\nwith this section must be in a format that is publicly documented (and with\nan implementation available to the public in source code form), and must require\nno special password or key for unpacking, reading or copying.\n\n7. Additional Terms.\n\"Additional permissions\" are terms that supplement the terms of this License\nby making exceptions from one or more of its conditions. Additional permissions\nthat are applicable to the entire Program shall be treated as though they\nwere included in this License, to the extent that they are valid under applicable\nlaw.  If additional permissions apply only to part of the Program, that part\nmay be used separately under those permissions, but the entire Program remains\ngoverned by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any\nadditional permissions from that copy, or from any part of it.  (Additional\npermissions may be written to require their own removal in certain cases when\nyou modify the work.)  You may place additional permissions on material, added\nby you to a covered work, for which you have or can give appropriate copyright\npermission.\n\nNotwithstanding any other provision of this License, for material you add\nto a covered work, you may (if authorized by the copyright holders of that\nmaterial) supplement the terms of this License with terms:\n\na) Disclaiming warranty or limiting liability differently from the terms of\nsections 15 and 16 of this License; or\n\nb) Requiring preservation of specified reasonable legal notices or author\nattributions in that material or in the Appropriate Legal Notices displayed\nby works containing it; or\n\nc) Prohibiting misrepresentation of the origin of that material, or requiring\nthat modified versions of such material be marked in reasonable ways as different\nfrom the original version; or\n\nd) Limiting the use for publicity purposes of names of licensors or authors\nof the material; or\n\ne) Declining to grant rights under trademark law for use of some trade names,\ntrademarks, or service marks; or\n\nf) Requiring indemnification of licensors and authors of that material by\nanyone who conveys the material (or modified versions of it) with contractual\nassumptions of liability to the recipient, for any liability that these contractual\nassumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered \"further restrictions\"\nwithin the meaning of section 10.  If the Program as you received it, or any\npart of it, contains a notice stating that it is governed by this License\nalong with a term that is a further restriction, you may remove that term.\nIf a license document contains a further restriction but permits relicensing\nor conveying under this License, you may add to a covered work material governed\nby the terms of that license document, provided that the further restriction\ndoes not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place,\nin the relevant source files, a statement of the additional terms that apply\nto those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form\nof a separately written license, or stated as exceptions; the above requirements\napply either way.\n\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided\nunder this License.  Any attempt otherwise to propagate or modify it is void,\nand will automatically terminate your rights under this License (including\nany patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from\na particular copyright holder is reinstated (a) provisionally, unless and\nuntil the copyright holder explicitly and finally terminates your license,\nand (b) permanently, if the copyright holder fails to notify you of the violation\nby some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently\nif the copyright holder notifies you of the violation by some reasonable means,\nthis is the first time you have received notice of violation of this License\n(for any work) from that copyright holder, and you cure the violation prior\nto 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses\nof parties who have received copies or rights from you under this License.\nIf your rights have been terminated and not permanently reinstated, you do\nnot qualify to receive new licenses for the same material under section 10.\n\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy\nof the Program.  Ancillary propagation of a covered work occurring solely\nas a consequence of using peer-to-peer transmission to receive a copy likewise\ndoes not require acceptance.  However, nothing other than this License grants\nyou permission to propagate or modify any covered work.  These actions infringe\ncopyright if you do not accept this License.  Therefore, by modifying or propagating\na covered work, you indicate your acceptance of this License to do so.\n\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives\na license from the original licensors, to run, modify and propagate that work,\nsubject to this License.  You are not responsible for enforcing compliance\nby third parties with this License.\n\nAn \"entity transaction\" is a transaction transferring control of an organization,\nor substantially all assets of one, or subdividing an organization, or merging\norganizations.  If propagation of a covered work results from an entity transaction,\neach party to that transaction who receives a copy of the work also receives\nwhatever licenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the Corresponding\nSource of the work from the predecessor in interest, if the predecessor has\nit or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights\ngranted or affirmed under this License.  For example, you may not impose a\nlicense fee, royalty, or other charge for exercise of rights granted under\nthis License, and you may not initiate litigation (including a cross-claim\nor counterclaim in a lawsuit) alleging that any patent claim is infringed\nby making, using, selling, offering for sale, or importing the Program or\nany portion of it.\n\n11. Patents.\n\nA \"contributor\" is a copyright holder who authorizes use under this License\nof the Program or a work on which the Program is based.  The work thus licensed\nis called the contributor's \"contributor version\".\n\nA contributor's \"essential patent claims\" are all patent claims owned or controlled\nby the contributor, whether already acquired or hereafter acquired, that would\nbe infringed by some manner, permitted by this License, of making, using,\nor selling its contributor version, but do not include claims that would be\ninfringed only as a consequence of further modification of the contributor\nversion.  For purposes of this definition, \"control\" includes the right to\ngrant patent sublicenses in a manner consistent with the requirements of this\nLicense.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent\nlicense under the contributor's essential patent claims, to make, use, sell,\noffer for sale, import and otherwise run, modify and propagate the contents\nof its contributor version.\n\nIn the following three paragraphs, a \"patent license\" is any express agreement\nor commitment, however denominated, not to enforce a patent (such as an express\npermission to practice a patent or covenant not to sue for patent infringement).\nTo \"grant\" such a patent license to a party means to make such an agreement\nor commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the\nCorresponding Source of the work is not available for anyone to copy, free\nof charge and under the terms of this License, through a publicly available\nnetwork server or other readily accessible means, then you must either (1)\ncause the Corresponding Source to be so available, or (2) arrange to deprive\nyourself of the benefit of the patent license for this particular work, or\n(3) arrange, in a manner consistent with the requirements of this License,\nto extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have actual\nknowledge that, but for the patent license, your conveying the covered work\nin a country, or your recipient's use of the covered work in a country, would\ninfringe one or more identifiable patents in that country that you have reason\nto believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement,\nyou convey, or propagate by procuring conveyance of, a covered work, and grant\na patent license to some of the parties receiving the covered work authorizing\nthem to use, propagate, modify or convey a specific copy of the covered work,\nthen the patent license you grant is automatically extended to all recipients\nof the covered work and works based on it.\n\nA patent license is \"discriminatory\" if it does not include within the scope\nof its coverage, prohibits the exercise of, or is conditioned on the non-exercise\nof one or more of the rights that are specifically granted under this License.\nYou may not convey a covered work if you are a party to an arrangement with\na third party that is in the business of distributing software, under which\nyou make payment to the third party based on the extent of your activity of\nconveying the work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory patent\nlicense (a) in connection with copies of the covered work conveyed by you\n(or copies made from those copies), or (b) primarily for and in connection\nwith specific products or compilations that contain the covered work, unless\nyou entered into that arrangement, or that patent license was granted, prior\nto 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied\nlicense or other defenses to infringement that may otherwise be available\nto you under applicable patent law.\n\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise)\nthat contradict the conditions of this License, they do not excuse you from\nthe conditions of this License.  If you cannot convey a covered work so as\nto satisfy simultaneously your obligations under this License and any other\npertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey the\nProgram, the only way you could satisfy both those terms and this License\nwould be to refrain entirely from conveying the Program.\n\n13. Remote Network Interaction; Use with the GNU General Public License.\n\nNotwithstanding any other provision of this License, if you modify the Program,\nyour modified version must prominently offer all users interacting with it\nremotely through a computer network (if your version supports such interaction)\nan opportunity to receive the Corresponding Source of your version by providing\naccess to the Corresponding Source from a network server at no charge, through\nsome standard or customary means of facilitating copying of software.  This\nCorresponding Source shall include the Corresponding Source for any work covered\nby version 3 of the GNU General Public License that is incorporated pursuant\nto the following paragraph.\n\nNotwithstanding any other provision of this License, you have permission to\nlink or combine any covered work with a work licensed under version 3 of the\nGNU General Public License into a single combined work, and to convey the\nresulting work.  The terms of this License will continue to apply to the part\nwhich is the covered work, but the work with which it is combined will remain\ngoverned by version 3 of the GNU General Public License.\n\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the\nGNU Affero General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to address\nnew problems or concerns.\n\nEach version is given a distinguishing version number.  If the Program specifies\nthat a certain numbered version of the GNU Affero General Public License \"or\nany later version\" applies to it, you have the option of following the terms\nand conditions either of that numbered version or of any later version published\nby the Free Software Foundation.  If the Program does not specify a version\nnumber of the GNU Affero General Public License, you may choose any version\never published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of\nthe GNU Affero General Public License can be used, that proxy's public statement\nof acceptance of a version permanently authorizes you to choose that version\nfor the Program.\n\nLater license versions may give you additional or different permissions.\nHowever, no additional obligations are imposed on any author or copyright\nholder as a result of your choosing to follow a later version.\n\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE\nLAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\nOTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER\nEXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK\nAS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR\nOR CORRECTION.\n\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL\nANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM\nAS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,\nINCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO\nUSE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED\nINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE\nPROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER\nPARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot\nbe given local legal effect according to their terms, reviewing courts shall\napply local law that most closely approximates an absolute waiver of all civil\nliability in connection with the Program, unless a warranty or assumption\nof liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\nIf you develop a new program, and you want it to be of the greatest possible\nuse to the public, the best way to achieve this is to make it free software\nwhich everyone can redistribute and change under these terms.\n\nTo do so, attach the following notices to the program.  It is safest to attach\nthem to the start of each source file to most effectively state the exclusion\nof warranty; and each file should have at least the \"copyright\" line and a\npointer to where the full notice is found.\n\n     <one line to give the program's name and a brief idea of what it does.>\n     Copyright (C) <year>  <name of author>\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU Affero General Public License as published by the Free\nSoftware Foundation, either version 3 of the License, or (at your option)\nany later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Affero General Public License along\nwith this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\nIf your software can interact with users remotely through a computer network,\nyou should also make sure that it provides a way for users to get its source.\nFor example, if your program is a web application, its interface could display\na \"Source\" link that leads users to an archive of the code.  There are many\nways you could offer source, and different solutions will be better for different\nprograms; see section 13 for the specific requirements.\n\nYou should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary. For\nmore information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.\n","_id":"@hedgedoc/realtime-communication@0.0.49","dist":{"shasum":"a3e2e1becf66311202013118612d54fc5873a168","integrity":"sha512-ht7lBUVbcqkajA7Wer01cJp8NEpMJ2yup90lJ0QvJ9dsBpwMpNE35uYxiczlizP26qPP1txoXK+bvV4+sGzTXA==","tarball":"https://registry.npmjs.org/@hedgedoc/realtime-communication/-/realtime-communication-0.0.49.tgz","fileCount":85,"unpackedSize":151937,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP6v+1eZqEBoguq/6uKvrgQLugjHBfhxO3D7SBsC1soQIhAJ98o1mXrDygeBLFwj9xcuZaRcDb3/ZzHbS2EnRoUTbz"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipe/TACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrofw//T33FTkFgRiDRfxD97wxau+zPEp0O4IHCQfKryIx/xUukSj7M\r\nn0LkjyOXDFO1lQrxuF8K40QCwJ8OpBSJ4r25ae9S3KfxYbS+xnioGih0tSA2\r\nb89avhnsGAY/Y9b2dZjPceRL9k9E0ZC9w8z3j4oQWeo67OxNG3Un1GpPr1Rf\r\nBiNJWTqD/qgt781UCXrWGrwMQ4XGYQ9gFgj/ifHSJT4iLHo1EcmayV+T7ded\r\nmdvfWgFyBajHiMyiMk6TmkFEmWYNUXLsyykO6DhGGmeLye5VJ1mtkMYpP8vy\r\nOeI9xGJbGAR44N9eHZiGxr0KXEOqB5MFigSH8/5qMjy9iEAfxkX9dbSz5Pq6\r\nRKPG2ipqdNQPxtylmsz//F8CeZaNLexfz0OQA8QUFcWBK7FgyMNgv6zSL81e\r\nJS/Qrim9x5jFNmqX8k581nNuG78RLkrnBr7hZWzHI59+wbG6ymKZ/DTXneRv\r\nfphxAXNfAvPsrTZrSPR1ta9Ihew4QZdSCj8kBdR9B1k6MWFdYdEGuCg5Dpvn\r\n8S4j5YKMDOMfDnmEz2WhlUgGUw/B7MJHdEz9LhvzGRcEks2D0tYBclWWrgZs\r\ntnnYI3L2JvyV+G32MKAHA3l3Lm4mOfKAvNB7z5gYOiW8Ol8CFWK5nZeJp6qg\r\nW12EkVh8S3hAwfCfyk7Bi4fRbzPRLcHYK9U=\r\n=NPzp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"},"directories":{},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realtime-communication_0.0.49_1655042003026_0.3489294532638003"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2022-06-05T12:07:18.720Z","0.0.1":"2022-06-05T12:07:19.009Z","modified":"2022-06-12T14:08:04.237Z","0.0.2":"2022-06-05T12:10:42.831Z","0.0.3":"2022-06-05T12:12:50.391Z","0.0.4":"2022-06-05T12:18:23.359Z","0.0.5":"2022-06-05T12:20:46.894Z","0.0.6":"2022-06-05T12:35:04.344Z","0.0.7":"2022-06-05T14:59:24.154Z","0.0.8":"2022-06-05T15:16:20.245Z","0.0.9":"2022-06-05T15:24:32.452Z","0.0.10":"2022-06-05T16:00:29.792Z","0.0.11":"2022-06-05T16:04:55.193Z","0.0.14":"2022-06-05T17:14:40.738Z","0.0.15":"2022-06-05T17:21:11.912Z","0.0.16":"2022-06-05T18:00:04.468Z","0.0.17":"2022-06-05T18:06:54.374Z","0.0.18":"2022-06-05T18:20:13.141Z","0.0.19":"2022-06-05T18:39:16.515Z","0.0.20":"2022-06-05T18:48:28.496Z","0.0.21":"2022-06-05T18:50:22.652Z","0.0.22":"2022-06-05T20:10:51.318Z","0.0.23":"2022-06-05T20:54:37.391Z","0.0.24":"2022-06-05T21:01:00.723Z","0.0.25":"2022-06-05T21:08:22.591Z","0.0.26":"2022-06-06T13:32:49.777Z","0.0.27":"2022-06-06T16:43:18.509Z","0.0.28":"2022-06-08T13:34:54.098Z","0.0.29":"2022-06-08T13:41:10.623Z","0.0.30":"2022-06-10T13:23:34.929Z","0.0.31":"2022-06-10T13:26:38.777Z","0.0.32":"2022-06-10T13:27:54.903Z","0.0.33":"2022-06-10T13:54:16.252Z","0.0.34":"2022-06-10T14:13:11.701Z","0.0.35":"2022-06-10T14:29:00.532Z","0.0.36":"2022-06-10T16:57:55.376Z","0.0.37":"2022-06-10T20:10:25.984Z","0.0.38":"2022-06-11T20:44:27.375Z","0.0.39":"2022-06-11T20:48:48.816Z","0.0.40":"2022-06-11T21:06:51.444Z","0.0.41":"2022-06-11T21:10:02.015Z","0.0.42":"2022-06-12T09:54:08.317Z","0.0.43":"2022-06-12T10:17:43.096Z","0.0.44":"2022-06-12T10:19:47.335Z","0.0.45":"2022-06-12T11:18:39.982Z","0.0.46":"2022-06-12T11:46:17.298Z","0.0.47":"2022-06-12T11:47:19.041Z","0.0.48":"2022-06-12T12:55:02.001Z","0.0.49":"2022-06-12T13:53:23.220Z"},"maintainers":[{"name":"davidmehren","email":"dmehren1@gmail.com"},{"name":"mrdrogdrog","email":"ich@tilmanvatteroth.de"}],"description":"Contains common code for realtime communication","repository":{"type":"git","url":"https://github.com/hedgedoc/realtime-communication.git"},"author":{"name":"The HedgeDoc Authors"},"license":"AGPL-3.0","readme":"","readmeFilename":""}