{"_id":"indefinite-observable","_rev":"2840145","name":"indefinite-observable","description":"<!-- TODO: update version number before releasing, here and in the script tag --> [![Current version:](https://img.shields.io/badge/v2.0.1:-222222.svg?logo=npm)](https://www.npmjs.com/package/indefinite-observable/v/2.0.1) [![Test status](https://img.shie","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"appsforartists","email":"git@appsforartists.com"}],"time":{"modified":"2022-09-06T15:50:41.000Z","created":"2016-12-06T19:28:01.493Z","2.0.1":"2018-12-13T06:00:31.425Z","2.0.0":"2018-12-11T02:05:34.643Z","1.0.2":"2018-11-28T00:49:05.201Z","1.0.1":"2017-01-19T00:25:37.035Z","0.3.0":"2016-12-13T01:00:26.237Z","0.2.0":"2016-12-08T00:44:33.797Z","0.1.0":"2016-12-07T01:07:56.199Z","0.0.0":"2016-12-06T19:28:01.493Z"},"users":{},"author":{"name":"The Indefinite Observable Authors","url":"see AUTHORS"},"repository":{"type":"git","url":"git@github.com:material-motion/indefinite-observable-js.git"},"versions":{"2.0.1":{"name":"indefinite-observable","version":"2.0.1","scripts":{"start":"node ./devServer.js","clean":"rm -rf ./dist/*; mkdir -p ./dist/","lint":"tslint -c tslint.json --project tsconfig.json","pretest":"yarn run lint; yarn run build; tsc --project ./tsconfig.tests.json","test":"nyc --require @std/esm mocha ./dist/**/__tests__/**.js","posttest":"nyc report --reporter=json && codecov -f coverage/*.json","build":"yarn run clean; tsc; rollup --config rollup.config.js","prepublish":"yarn run build"},"module":"dist/index.js","types":"dist/index.d.ts","unpkg":"dist/indefinite-observable.bundle.js","typescript:main":"src/index.ts","dependencies":{"symbol-observable":"1.2.0"},"@std/esm":{"mode":"all","cjs":true},"devDependencies":{"@std/esm":"^0.26.0","chai":"3.5.0","codecov":"^1.0.1","mocha":"3.2.0","mocha-junit-reporter":"^1.18.0","mocha-sugar-free":"1.3.1","nyc":"^10.0.0","pre-commit":"1.1.3","pundle-dev":"1.1.11","rollup":"^0.67.4","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-typescript2":"^0.18.0","sinon":"2.0.0-pre.3","sinon-chai":"2.8.0","tsickle":"0.2.0","tslint":"4.0.2","tslint-junit-formatter":"^5.1.0","typescript":"3","typescript-pundle":"1.0.1"},"pre-commit":["build"],"repository":{"type":"git","url":"git@github.com:material-motion/indefinite-observable-js.git"},"author":{"name":"The Indefinite Observable Authors","url":"see AUTHORS"},"license":"Apache-2.0","bugs":{"url":"https://github.com/material-motion/indefinite-observable-js/issues/"},"homepage":"https://github.com/material-motion/indefinite-observable-js/#readme","contributors":[{"name":"Google Inc."},{"name":"and other contributors"}],"description":"<!-- TODO: update version number before releasing, here and in the script tag --> [![Current version:](https://img.shields.io/badge/v2.0.1:-222222.svg?logo=npm)](https://www.npmjs.com/package/indefinite-observable/v/2.0.1) [![Test status](https://img.shie","licenseText":"\n                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"indefinite-observable@2.0.1","dist":{"shasum":"574af29bfbc17eb5947793797bddc94c9d859400","size":13182,"noattachment":false,"key":"/indefinite-observable/-/indefinite-observable-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/indefinite-observable/download/indefinite-observable-2.0.1.tgz"},"maintainers":[{"name":"appsforartists","email":"git@appsforartists.com"}],"_npmUser":{"name":"appsforartists","email":"npm@appsforartists.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indefinite-observable_2.0.1_1544680831304_0.43882176915406346"},"_hasShrinkwrap":false,"publish_time":1544680831425,"_cnpm_publish_time":1544680831425,"_cnpmcore_publish_time":"2021-12-16T11:28:58.843Z"},"2.0.0":{"name":"indefinite-observable","version":"2.0.0","scripts":{"start":"node ./devServer.js","clean":"rm -rf ./dist/*; mkdir -p ./dist/","lint":"tslint -c tslint.json --project tsconfig.json","pretest":"yarn run lint; yarn run build; tsc --project ./tsconfig.tests.json","test":"nyc --require @std/esm mocha ./dist/**/__tests__/**.js","posttest":"nyc report --reporter=json && codecov -f coverage/*.json","build":"yarn run clean; tsc; rollup --config rollup.config.js","prepublish":"yarn run build"},"browser":"dist/indefinite-observable.bundle.js","module":"dist/index.js","types":"dist/index.d.ts","typescript:main":"src/index.ts","dependencies":{"symbol-observable":"1.2.0"},"@std/esm":{"mode":"all","cjs":true},"devDependencies":{"@std/esm":"^0.26.0","chai":"3.5.0","codecov":"^1.0.1","mocha":"3.2.0","mocha-junit-reporter":"^1.18.0","mocha-sugar-free":"1.3.1","nyc":"^10.0.0","pre-commit":"1.1.3","pundle-dev":"1.1.11","rollup":"^0.67.4","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-typescript2":"^0.18.0","sinon":"2.0.0-pre.3","sinon-chai":"2.8.0","tsickle":"0.2.0","tslint":"4.0.2","tslint-junit-formatter":"^5.1.0","typescript":"3","typescript-pundle":"1.0.1"},"pre-commit":["build"],"repository":{"type":"git","url":"git@github.com:material-motion/indefinite-observable-js.git"},"author":{"name":"The Indefinite Observable Authors","url":"see AUTHORS"},"license":"Apache-2.0","bugs":{"url":"https://github.com/material-motion/indefinite-observable-js/issues/"},"homepage":"https://github.com/material-motion/indefinite-observable-js/#readme","contributors":[{"name":"Google Inc."},{"name":"and other contributors"}],"description":"<!-- TODO: update version number before releasing, here and in the script tag --> [![Current version:](https://img.shields.io/badge/v2.0.0:-222222.svg?logo=npm)](https://www.npmjs.com/package/indefinite-observable/v/2.0.0) [![Test status](https://img.shie","licenseText":"\n                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n","_id":"indefinite-observable@2.0.0","dist":{"shasum":"ba7daed4fa248d8f46ec25fc1fbdb580210cbc0f","size":13087,"noattachment":false,"key":"/indefinite-observable/-/indefinite-observable-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/indefinite-observable/download/indefinite-observable-2.0.0.tgz"},"maintainers":[{"name":"appsforartists","email":"git@appsforartists.com"}],"_npmUser":{"name":"appsforartists","email":"npm@appsforartists.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indefinite-observable_2.0.0_1544493934473_0.18728657191235687"},"_hasShrinkwrap":false,"publish_time":1544493934643,"_cnpm_publish_time":1544493934643,"_cnpmcore_publish_time":"2021-12-16T11:28:59.078Z"},"1.0.2":{"name":"indefinite-observable","version":"1.0.2","scripts":{"start":"node ./devServer.js","clean":"rm -rf ./dist/*; mkdir -p ./dist/","lint":"tslint -c tslint.json --project tsconfig.json","pretest":"yarn run lint; yarn run build; tsc --project ./tsconfig.tests.json","test":"nyc mocha ./dist/**/__tests__/**.js","posttest":"nyc report --reporter=json && codecov -f coverage/*.json","build":"yarn run clean; tsc; node ./build.js","prepublish":"yarn run build"},"main":"dist/index.js","types":"dist/index.d.ts","typescript:main":"src/index.ts","dependencies":{"symbol-observable":"1.2.0"},"devDependencies":{"chai":"3.5.0","codecov":"^1.0.1","mocha":"3.2.0","mocha-junit-reporter":"^1.18.0","mocha-sugar-free":"1.3.1","nyc":"^10.0.0","pre-commit":"1.1.3","pundle-dev":"1.1.11","sinon":"2.0.0-pre.3","sinon-chai":"2.8.0","tsickle":"0.2.0","tslint":"4.0.2","tslint-junit-formatter":"^5.1.0","typescript":"2.1.4","typescript-pundle":"1.0.1"},"pre-commit":["build"],"repository":{"type":"git","url":"git+ssh://git@github.com/material-motion/indefinite-observable-js.git"},"author":{"name":"The Indefinite Observable Authors","url":"see AUTHORS"},"license":"Apache-2.0","bugs":{"url":"https://github.com/material-motion/indefinite-observable-js/issues/"},"homepage":"https://github.com/material-motion/indefinite-observable-js/#readme","contributors":[{"name":"Google Inc."},{"name":"and other contributors"}],"gitHead":"49af2db72d064800225e355e0eb59add0a889cf7","description":"<!-- TODO: update version number before releasing --> ![Current version:](https://img.shields.io/badge/v1.0.2:-222222.svg?logo=npm) [![Test status](https://img.shields.io/circleci/project/github/material-motion/indefinite-observable-js/stable.svg?logo=cir","_id":"indefinite-observable@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.11.4","_npmUser":{"name":"appsforartists","email":"npm@appsforartists.com"},"dist":{"shasum":"0a328793ab2385d4b9dca23eaab4afe6936a73f8","size":61936,"noattachment":false,"key":"/indefinite-observable/-/indefinite-observable-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/indefinite-observable/download/indefinite-observable-1.0.2.tgz"},"maintainers":[{"name":"appsforartists","email":"git@appsforartists.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indefinite-observable_1.0.2_1543366145030_0.4825486968719366"},"_hasShrinkwrap":false,"publish_time":1543366145201,"_cnpm_publish_time":1543366145201,"_cnpmcore_publish_time":"2021-12-16T11:28:59.391Z"},"1.0.1":{"name":"indefinite-observable","version":"1.0.1","scripts":{"start":"node ./devServer.js","clean":"rm -rf ./dist/*; mkdir -p ./dist/","lint":"$( yarn bin )/tslint -c tslint.json --project tsconfig.json","pretest":"yarn run lint; yarn run build; $( yarn bin )/tsc --project ./tsconfig.tests.json","test":"$( yarn bin )/nyc $( yarn bin )/mocha ./dist/**/__tests__/**.js","posttest":"$( yarn bin )/nyc report --reporter=json && $( yarn bin )/codecov -f coverage/*.json","build":"yarn run clean; $( yarn bin )/tsc; node ./build.js","prepublish":"yarn run build"},"main":"dist/index.js","types":"dist/index.d.ts","typescript:main":"src/index.ts","dependencies":{"symbol-observable":"1.0.4"},"devDependencies":{"chai":"3.5.0","codecov":"^1.0.1","mocha":"3.2.0","mocha-sugar-free":"1.3.1","nyc":"^10.0.0","pre-commit":"1.1.3","pundle-dev":"1.1.11","sinon":"2.0.0-pre.3","sinon-chai":"2.8.0","tsickle":"0.2.0","tslint":"4.0.2","typescript":"2.1.4","typescript-pundle":"1.0.1"},"pre-commit":["build"],"repository":{"type":"git","url":"git+ssh://git@github.com/material-motion/indefinite-observable-js.git"},"author":{"name":"The Indefinite Observable Authors","url":"see AUTHORS"},"license":"Apache-2.0","bugs":{"url":"https://github.com/material-motion/indefinite-observable-js/issues/"},"homepage":"https://github.com/material-motion/indefinite-observable-js/#readme","contributors":[{"name":"Google Inc."},{"name":"and other contributors"}],"gitHead":"f64b2bd55aca18238663897ccb741354dc397170","description":"[![Build Status](https://travis-ci.org/material-motion/indefinite-observable-js.svg?branch=develop)](https://travis-ci.org/material-motion/indefinite-observable-js) [![codecov](https://codecov.io/gh/material-motion/indefinite-observable-js/branch/develop/","_id":"indefinite-observable@1.0.1","_shasum":"09915423cc8d6f7eb1cb7882ad134633c9a6edc3","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"appsforartists","email":"git@appsforartists.com"},"dist":{"shasum":"09915423cc8d6f7eb1cb7882ad134633c9a6edc3","size":47847,"noattachment":false,"key":"/indefinite-observable/-/indefinite-observable-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/indefinite-observable/download/indefinite-observable-1.0.1.tgz"},"maintainers":[{"name":"appsforartists","email":"git@appsforartists.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/indefinite-observable-1.0.1.tgz_1484785535067_0.6230356185697019"},"directories":{},"publish_time":1484785537035,"_hasShrinkwrap":false,"_cnpm_publish_time":1484785537035,"_cnpmcore_publish_time":"2021-12-16T11:28:59.651Z"},"0.3.0":{"name":"indefinite-observable","version":"0.3.0","scripts":{"start":"node ./devServer.js","clean":"rm -rf ./dist/*; mkdir -p ./dist/","lint":"$( yarn bin )/tslint -c tslint.json --project tsconfig.json","pretest":"yarn run lint; yarn run build; $( yarn bin )/tsc --project ./tsconfig.tests.json","test":"$( yarn bin )/nyc $( yarn bin )/mocha ./dist/**/__tests__/**.js","posttest":"$( yarn bin )/nyc report --reporter=json && $( yarn bin )/codecov -f coverage/*.json","build":"yarn run clean; $( yarn bin )/tsc; node ./build.js","prepublish":"yarn run build"},"main":"dist/index.js","types":"dist/index.d.ts","typescript:main":"src/index.ts","dependencies":{"symbol-observable":"1.0.4"},"devDependencies":{"chai":"3.5.0","codecov":"^1.0.1","mocha":"3.2.0","mocha-sugar-free":"1.3.1","nyc":"^10.0.0","pre-commit":"1.1.3","pundle-dev":"1.1.11","sinon":"2.0.0-pre.3","sinon-chai":"2.8.0","tsickle":"0.2.0","tslint":"4.0.2","typescript":"2.1.4","typescript-pundle":"1.0.1"},"pre-commit":["build"],"repository":{"type":"git","url":"git+ssh://git@github.com/material-motion/indefinite-observable-js.git"},"author":{"name":"The Indefinite Observable Authors","url":"see AUTHORS"},"license":"Apache-2.0","bugs":{"url":"https://github.com/material-motion/indefinite-observable-js/issues/"},"homepage":"https://github.com/material-motion/indefinite-observable-js/#readme","contributors":[{"name":"Google Inc."},{"name":"and other contributors"}],"gitHead":"516fe8ca4d41f7b865ee8005681dbbcccacded49","description":"[![Build Status](https://travis-ci.org/material-motion/indefinite-observable-js.svg?branch=develop)](https://travis-ci.org/material-motion/indefinite-observable-js) [![codecov](https://codecov.io/gh/material-motion/indefinite-observable-js/branch/develop/","_id":"indefinite-observable@0.3.0","_shasum":"038ea632db8855e05947a71a1bc7c55e304840c2","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"appsforartists","email":"git@appsforartists.com"},"dist":{"shasum":"038ea632db8855e05947a71a1bc7c55e304840c2","size":48522,"noattachment":false,"key":"/indefinite-observable/-/indefinite-observable-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/indefinite-observable/download/indefinite-observable-0.3.0.tgz"},"maintainers":[{"name":"appsforartists","email":"git@appsforartists.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/indefinite-observable-0.3.0.tgz_1481590825605_0.16289066267199814"},"directories":{},"publish_time":1481590826237,"_hasShrinkwrap":false,"_cnpm_publish_time":1481590826237,"_cnpmcore_publish_time":"2021-12-16T11:29:00.099Z"},"0.2.0":{"name":"indefinite-observable","version":"0.2.0","scripts":{"start":"node ./devServer.js","clean":"rm -rf ./dist/*; mkdir -p ./dist/","build":"yarn run clean; $( yarn bin )/tsc; node ./build.js","prepublish":"yarn run build"},"main":"dist/index.js","types":"dist/index.d.ts","typescript:main":"src/index.ts","dependencies":{"symbol-observable":"1.0.4"},"devDependencies":{"pre-commit":"1.1.3","pundle-dev":"1.1.11","typescript":"2.1.1","typescript-pundle":"1.0.1"},"pre-commit":["build"],"repository":{"type":"git","url":"git+ssh://git@github.com/material-motion/indefinite-observable-js.git"},"author":{"name":"The Indefinite Observable Authors","url":"see AUTHORS"},"license":"Apache-2.0","bugs":{"url":"https://github.com/material-motion/indefinite-observable-js/issues/"},"homepage":"https://github.com/material-motion/indefinite-observable-js/#readme","contributors":[{"name":"Google Inc."},{"name":"and other contributors"}],"gitHead":"b873500deb5418b7844dfd0392baa853bda1e5cc","description":"[![Build Status](https://travis-ci.org/material-motion/indefinite-observable-js.svg?branch=develop)](https://travis-ci.org/material-motion/indefinite-observable-js) [![codecov](https://codecov.io/gh/material-motion/indefinite-observable-js/branch/develop/","_id":"indefinite-observable@0.2.0","_shasum":"ed0d1f273e9d07adb5022eaf02f057b91d495e21","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"appsforartists","email":"git@appsforartists.com"},"dist":{"shasum":"ed0d1f273e9d07adb5022eaf02f057b91d495e21","size":31450,"noattachment":false,"key":"/indefinite-observable/-/indefinite-observable-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/indefinite-observable/download/indefinite-observable-0.2.0.tgz"},"maintainers":[{"name":"appsforartists","email":"git@appsforartists.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/indefinite-observable-0.2.0.tgz_1481157873579_0.419092093128711"},"directories":{},"publish_time":1481157873797,"_hasShrinkwrap":false,"_cnpm_publish_time":1481157873797,"_cnpmcore_publish_time":"2021-12-16T11:29:00.366Z"},"0.1.0":{"name":"indefinite-observable","version":"0.1.0","scripts":{"start":"node ./devServer.js","clean":"rm -rf ./dist/*; mkdir -p ./dist/","build":"yarn run clean; $( yarn bin )/tsc; node ./build.js","prepublish":"yarn run build"},"main":"dist/index.js","types":"dist/index.d.ts","browser":"dist/indefinite-observable.js","typescript:main":"src/index.ts","dependencies":{"symbol-observable":"1.0.4"},"devDependencies":{"pre-commit":"1.1.3","pundle-dev":"1.1.11","typescript":"2.1.1","typescript-pundle":"1.0.1"},"pre-commit":["build"],"repository":{"type":"git","url":"git+ssh://git@github.com/material-motion/indefinite-observable-js.git"},"author":{"name":"The Indefinite Observable Authors","url":"see AUTHORS"},"license":"Apache-2.0","bugs":{"url":"https://github.com/material-motion/indefinite-observable-js/issues/"},"homepage":"https://github.com/material-motion/indefinite-observable-js/#readme","contributors":[{"name":"Google Inc."},{"name":"and other contributors"}],"gitHead":"f9b885a839953c64eb4e2d5c034b6c4c8fcab7c9","description":"[![Build Status](https://travis-ci.org/material-motion/indefinite-observable-js.svg?branch=develop)](https://travis-ci.org/material-motion/indefinite-observable-js) [![codecov](https://codecov.io/gh/material-motion/indefinite-observable-js/branch/develop/","_id":"indefinite-observable@0.1.0","_shasum":"bc901316a33ff2a059e15420aeecc7daa8dac62c","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"appsforartists","email":"git@appsforartists.com"},"dist":{"shasum":"bc901316a33ff2a059e15420aeecc7daa8dac62c","size":31464,"noattachment":false,"key":"/indefinite-observable/-/indefinite-observable-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/indefinite-observable/download/indefinite-observable-0.1.0.tgz"},"maintainers":[{"name":"appsforartists","email":"git@appsforartists.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/indefinite-observable-0.1.0.tgz_1481072875567_0.2870637068990618"},"directories":{},"publish_time":1481072876199,"_hasShrinkwrap":false,"_cnpm_publish_time":1481072876199,"_cnpmcore_publish_time":"2021-12-16T11:29:00.656Z"},"0.0.0":{"name":"indefinite-observable","version":"0.0.0","scripts":{"start":"node ./devServer.js","clean":"rm -rf ./dist/*; mkdir -p ./dist/","build":"yarn run clean; $( yarn bin )/tsc; node ./build.js","prepublish":"yarn run build"},"main":"dist/index.js","browser":"dist/indefinite-observable.js","types":"src/index.ts","typescript:main":"src/index.ts","dependencies":{"symbol-observable":"1.0.4"},"devDependencies":{"pre-commit":"1.1.3","pundle-dev":"1.1.11","typescript":"2.1.1","typescript-pundle":"1.0.1"},"pre-commit":["build"],"repository":{"type":"git","url":"git+ssh://git@github.com/com%3Amaterial-motion/indefinite-observable-js.git"},"author":{"name":"The Indefinite Observable Authors","url":"see AUTHORS"},"license":"Apache-2.0","bugs":{"url":"https://github.com/com:material-motion/indefinite-observable-js/issues/"},"homepage":"https://github.com/com:material-motion/indefinite-observable-js/#readme","contributors":[{"name":"Google Inc."},{"name":"and other contributors"}],"gitHead":"57203da037c7c700c16a8fe076a23be95bef0efc","description":"[![Build Status](https://travis-ci.org/material-motion/indefinite-observable-js.svg?branch=develop)](https://travis-ci.org/material-motion/indefinite-observable-js) [![codecov](https://codecov.io/gh/material-motion/indefinite-observable-js/branch/develop/","_id":"indefinite-observable@0.0.0","_shasum":"f136831cf14f3cbf5a9a95101298b66766299bac","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"appsforartists","email":"git@appsforartists.com"},"dist":{"shasum":"f136831cf14f3cbf5a9a95101298b66766299bac","size":31418,"noattachment":false,"key":"/indefinite-observable/-/indefinite-observable-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/indefinite-observable/download/indefinite-observable-0.0.0.tgz"},"maintainers":[{"name":"appsforartists","email":"git@appsforartists.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/indefinite-observable-0.0.0.tgz_1481052480864_0.47761150705628097"},"directories":{},"publish_time":1481052481493,"_hasShrinkwrap":false,"_cnpm_publish_time":1481052481493,"_cnpmcore_publish_time":"2021-12-16T11:29:00.888Z"}},"readme":"# Indefinite Observable #\n\n<!-- TODO: update version number before releasing, here and in the script tag -->\n[![Current version:](https://img.shields.io/badge/v2.0.1:-222222.svg?logo=npm)](https://www.npmjs.com/package/indefinite-observable/v/2.0.1)\n[![Test status](https://img.shields.io/circleci/project/github/material-motion/indefinite-observable-js/stable.svg?logo=circleci&label=Tests)](https://circleci.com/gh/material-motion/indefinite-observable-js/48)\n[![Code coverage](https://img.shields.io/codecov/c/github/material-motion/indefinite-observable-js/stable.svg?logo=codecov&logoColor=white&label=Coverage)](https://codecov.io/gh/material-motion/indefinite-observable-js/tree/f601df73be779477218f1fcf709b18e6b621de20/src)<br />\n[![HEAD:](https://img.shields.io/badge/HEAD:-222222.svg?logo=github&logoColor=white)](https://github.com/material-motion/indefinite-observable-js)\n[![Test status](https://img.shields.io/circleci/project/github/material-motion/indefinite-observable-js/develop.svg?logo=circleci&label=Tests)](https://circleci.com/gh/material-motion/indefinite-observable-js/tree/develop)\n[![Code coverage](https://img.shields.io/codecov/c/github/material-motion/indefinite-observable-js/develop.svg?logo=codecov&logoColor=white&label=Coverage)](https://codecov.io/gh/material-motion/indefinite-observable-js/branch/develop)\n\n## Why? ##\n\nThere are a lot of great Observable implementations, but they're baked into featureful libraries which contribute to both complexity and filesize.  We wanted the simplest-possible Observable implementation, with no operators, no fancy scheduling.  The entire thing is basically [three statements in `subscribe`](https://github.com/material-motion/indefinite-observable-js/blob/develop/src/IndefiniteObservable.ts#L68-L72).\n\nIndefinite Observable is a subset of the [TC39 Observable proposal](https://tc39.github.io/proposal-observable/) that never `complete`s or `error`s.  It implements the [minimal-necessary functionality](https://en.wikipedia.org/wiki/You_aren't_gonna_need_it), but it should be completely interchangeable with the TC39 proposal for the subset that it does implement.\n\nIf you want a complete Observables library that works out-of-the-box, check out [xstream](https://github.com/staltz/xstream/), [RxJS](https://github.com/ReactiveX/RxJS/), [Most](https://github.com/cujojs/most/), [Bacon](https://github.com/baconjs/bacon.js/), or [Kefir](https://github.com/rpominov/kefir/).  If you want to build your own Observables library that includes just the functionality you need, try [Indefinite Observable](https://github.com/material-motion/indefinite-observable-js/#indefinite-observable).\n\n## Usage ##\n\n```javascript\nimport { IndefiniteObservable } from 'indefinite-observable';\n\nconst moveEvent$ = new IndefiniteObservable(\n  (observer) => {\n    // Whenever you want the observable to dispatch a value, call\n    // observer.next(value).\n    element.addEventListener('pointermove', observer.next);\n\n    // Return a function that will perform any necessary clean up when the\n    // observable is unsubscribed from.\n    return () => {\n      element.removeEventListener('pointermove', observer.next);\n    }\n  }\n);\n\n// To receive the values dispatched by an observable, pass an observer to its\n// subscribe method.  An observer is just an object with a next method.\n//\n// subscribe returns a unsubscribe function.  Call that when you no longer want\n// to receive dispatches from the observable.\nconst unsubscribe = moveEvent$.subscribe({\n  next(moveEvent) {\n    console.log('got a pointer event: ', moveEvent);\n  }\n});\n```\n\nLearn more about [How Indefinite Observables work](https://material-motion.github.io/material-motion/documentation/IndefiniteObservable).\n\n## Installation ##\n\n```\nyarn add indefinite-observable\n```\n\nor include as a script tag:\n\n```html\n<script type = \"module\">\n  import { IndefiniteObservable } from \"https://ajax.googleapis.com/ajax/libs/indefinite-observable/2.0.1/indefinite-observable.bundle.js\"\n</script>\n```\n\n## Contributing ##\n\nThis library aims to be as simple as possible, so modifications will be rare.  Reasons we might make changes are limited to:\n\n- bugs, or\n- remaining compatible with the subset of the Observable spec that we support.\n\nIf you'd like to add operators, static methods, or other features, we invite you to depend upon us subclassing `IndefiniteObservable` in your own module.  In fact, [that's how we add features too](https://github.com/material-motion/material-motion-js/blob/develop/packages/core/src/observables/MotionObservable.ts).\n\nOf course, we welcome improvements to the examples and documentation in this repo.\n\n### Bundling ###\n\nOur source is available in 3 flavors: a TypeScript module, a JavaScript module, and a JavaScript bundle.  Any changes made to the first need to be reflected in the other two.  This should be handled for you automatically via a pre-commit hook.  If you have a clean working copy after committing, you're good.  If not, amend the commit with the new build before pushing.\n\nIf you need to bundle it independently, run\n\n```\nyarn run build\n```\n\n### Testing ###\n\n```\nyarn run test\n```\n\n## License ##\n\n[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n","_attachments":{},"homepage":"https://github.com/material-motion/indefinite-observable-js/#readme","bugs":{"url":"https://github.com/material-motion/indefinite-observable-js/issues/"},"license":"Apache-2.0"}