{"_id":"@rxjs/observable-polyfill","_rev":"1224193","name":"@rxjs/observable-polyfill","description":"Conditional Web Platform Observable fallback for RxJS 9","dist-tags":{"latest":"9.0.0-beta.0","next":"9.0.0-beta.1"},"maintainers":[{"name":"mattpodwysocki","email":"matthew.podwysocki@gmail.com"},{"name":"blesh","email":"ben@benlesh.com"}],"time":{"modified":"2026-10-15T01:48:51.000Z","created":"2026-08-04T19:24:10.928Z","9.0.0-beta.1":"2026-10-09T18:40:56.811Z","9.0.0-beta.0":"2026-08-04T19:24:10.928Z"},"users":{},"author":{"name":"Ben Lesh","email":"ben@benlesh.com"},"repository":{"type":"git","url":"git+https://github.com/ReactiveX/rxjs.git","directory":"packages/observable-polyfill"},"versions":{"9.0.0-beta.1":{"_id":"@rxjs/observable-polyfill@9.0.0-beta.1","bugs":{"url":"https://github.com/ReactiveX/RxJS/issues"},"dist":{"shasum":"8c02102b037961cda960eac2ba18591bd54adc11","tarball":"http://registry-npm.ywwl.com/@rxjs/observable-polyfill/download/@rxjs/observable-polyfill-9.0.0-beta.1.tgz","fileCount":7,"integrity":"sha512-w7WdPPqAjEyIarjxa6F8ANvkm4aOn5p7wgaWYKCabGy5fojANFlAMjcDuyx7M4VKWc7TJrWJhnpWSgHaQocm2A==","signatures":[{"sig":"MEQCIHVhgOiKi/CzhIlLEyWpakgI1ab/2mt0Dx464jvSHu+hAiA2j6g3zNT3/ph+f/7gRKHuadbKpJ0oyif+UzKluOfQpw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEpYt3MT8+vlCQ3+aGsAskmP+pfGbRzByLoVPQtf7l19AiEA6WR4aW1QCzhPhUho6/i4sCAeUiBBeDx2kx9hAVkzZLA="}],"unpackedSize":133278,"size":23335,"noattachment":false,"key":"/@rxjs/observable-polyfill/-/@rxjs/observable-polyfill-9.0.0-beta.1.tgz"},"name":"@rxjs/observable-polyfill","tshy":{"exclude":["src/**/*.spec.ts"],"exports":{".":"./src/index.ts","./package.json":"./package.json"},"dialects":["esm"],"selfLink":false},"type":"module","author":{"name":"Ben Lesh","email":"ben@benlesh.com"},"engines":{"node":">=22.13.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"browser":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"webpack":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"}},"./package.json":"./package.json"},"gitHead":"7d615d81ea2d07e7b8194c3b4b2accf7a5d6d26c","license":"Apache-2.0","scripts":{"lint":"eslint ./src","test":"vitest --run","build":"tshy && node ../../scripts/finalize-esm-package.mjs --browser","test:types":"tsc -p test/types/tsconfig.json --noEmit","test:watch":"vitest","test:imports":"node test/import/esm.mjs && node test/import/commonjs.cjs && node test/import/duplicate-install.mjs","test:package":"pnpm run build && pnpm run test:types && pnpm run test:imports","test:lifecycle":"pnpm run build && node test/lifecycle/run.mjs"},"version":"9.0.0-beta.1","_npmUser":{"name":"blesh","email":"ben@benlesh.com"},"homepage":"https://github.com/ReactiveX/rxjs/tree/master/packages/observable-polyfill#readme","keywords":["Rx","RxJS","ReactiveX","ReactiveExtensions","Streams","Observables","Observable","Stream"],"repository":{"url":"git+https://github.com/ReactiveX/rxjs.git","type":"git","directory":"packages/observable-polyfill"},"_npmVersion":"11.19.1","description":"Conditional Web Platform Observable fallback for RxJS 9","directories":{},"maintainers":[{"name":"mattpodwysocki","email":"matthew.podwysocki@gmail.com"},{"name":"blesh","email":"ben@benlesh.com"}],"_nodeVersion":"26.9.0","_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/observable-polyfill_9.0.0-beta.1_1791571256725_0.2975429334948989"},"publish_time":1791571256811,"_cnpm_publish_time":1791571256811},"9.0.0-beta.0":{"name":"@rxjs/observable-polyfill","version":"9.0.0-beta.0","description":"Conditional Web Platform Observable fallback for RxJS 9","license":"Apache-2.0","bugs":{"url":"https://github.com/ReactiveX/RxJS/issues"},"homepage":"https://github.com/ReactiveX/rxjs/tree/master/packages/observable-polyfill#readme","author":{"name":"Ben Lesh","email":"ben@benlesh.com"},"engines":{"node":">=22.13.0"},"type":"module","scripts":{"build":"tshy && node ../../scripts/finalize-esm-package.mjs --browser","lint":"eslint ./src","test":"vitest --run","test:imports":"node test/import/esm.mjs && node test/import/commonjs.cjs && node test/import/duplicate-install.mjs","test:lifecycle":"pnpm run build && node test/lifecycle/run.mjs","test:package":"pnpm run build && pnpm run test:types && pnpm run test:imports","test:types":"tsc -p test/types/tsconfig.json --noEmit","test:watch":"vitest"},"repository":{"type":"git","url":"git+https://github.com/ReactiveX/rxjs.git","directory":"packages/observable-polyfill"},"keywords":["Rx","RxJS","ReactiveX","ReactiveExtensions","Streams","Observables","Observable","Stream"],"devDependencies":{"fast-check":"4.9.0"},"tshy":{"selfLink":false,"dialects":["esm"],"exclude":["src/**/*.spec.ts"],"exports":{"./package.json":"./package.json",".":"./src/index.ts"}},"exports":{"./package.json":"./package.json",".":{"browser":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"webpack":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"}}},"_id":"@rxjs/observable-polyfill@9.0.0-beta.0","_integrity":"sha512-G2o17zDOxYgCPzM8+//WlDdViovC7NNkGBtlN57YwcVdbt9eMY/UkN1jJWC5j0s+f8Zuiqog1Mf5wFkef8wuAA==","_resolved":"/var/folders/kt/cckdc1p96rq3b4f9lsgc0w_40000gn/T/rxjs-9.0.0-beta.0-gyzHQf/rxjs-observable-polyfill-9.0.0-beta.0.tgz","_from":"file:/var/folders/kt/cckdc1p96rq3b4f9lsgc0w_40000gn/T/rxjs-9.0.0-beta.0-gyzHQf/rxjs-observable-polyfill-9.0.0-beta.0.tgz","_nodeVersion":"24.12.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-G2o17zDOxYgCPzM8+//WlDdViovC7NNkGBtlN57YwcVdbt9eMY/UkN1jJWC5j0s+f8Zuiqog1Mf5wFkef8wuAA==","shasum":"601b037cd9f1c8daea0dc22c10ef5afa537497c9","tarball":"http://registry-npm.ywwl.com/@rxjs/observable-polyfill/download/@rxjs/observable-polyfill-9.0.0-beta.0.tgz","fileCount":7,"unpackedSize":133482,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEKFSSbb3KPWGLSBbU8E4QBi62yC36ED4pF8c9uzg52YAiEAqkrtxJjezok+WghwFwF6rqJ3ILVCS18EmcDK/L8TCCs="}],"size":23463,"noattachment":false,"key":"/@rxjs/observable-polyfill/-/@rxjs/observable-polyfill-9.0.0-beta.0.tgz"},"_npmUser":{"name":"blesh","email":"ben@benlesh.com"},"directories":{},"maintainers":[{"name":"mattpodwysocki","email":"matthew.podwysocki@gmail.com"},{"name":"blesh","email":"ben@benlesh.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/observable-polyfill_9.0.0-beta.0_1785871450801_0.2760826981372213"},"_hasShrinkwrap":false,"publish_time":1785871450928,"_cnpm_publish_time":1785871450928}},"readme":"# `@rxjs/observable-polyfill`\n\nConditional fallback for the web-platform Observable and Subscriber contracts\nused by RxJS 9.\n\n```sh\nnpm install @rxjs/observable-polyfill@next\n```\n\n```ts\nimport '@rxjs/observable-polyfill';\n```\n\nThe package preserves an existing callable `globalThis.Observable`. When the\nrealm has no implementation, it installs the RxJS fallback together with its\npaired Subscriber and supported platform methods. It does not probe a native\nimplementation for conformance, replace it, or make the platform Observable\nbehave like an RxJS 7 cold Observable.\n\nUse `getObservablePolyfillInfo()` when diagnostics need to distinguish the\nRxJS fallback from a native or foreign constructor:\n\n```ts\nimport { getObservablePolyfillInfo } from '@rxjs/observable-polyfill';\n\nconsole.log(getObservablePolyfillInfo()); // metadata for the RxJS fallback, or undefined\n```\n\nCancellation and teardown use `AbortSignal` and Subscriber lifecycle. The\npackage also conditionally supplies the supported `EventTarget.when()` surface\nwithout replacing an existing callable implementation.\n\nThe package requires Node 22.13+ and publishes one ESM implementation for\nbrowser, Webpack, import, and Node `require(esm)` resolution. Observable WPT is\npinned at an exact upstream revision under `test/wpt`; the strict gate requires\ncomplete results and exact RxJS bundle identity in every fallback realm.\n\nThis package is the platform layer. RxJS operators and intentional\nproducer-per-subscription primitives belong to the\n[`rxjs` package](https://github.com/ReactiveX/rxjs/tree/master/packages/rxjs).\n","_attachments":{},"homepage":"https://github.com/ReactiveX/rxjs/tree/master/packages/observable-polyfill#readme","bugs":{"url":"https://github.com/ReactiveX/RxJS/issues"},"license":"Apache-2.0"}