{"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,"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","publish_time":1785871450928,"_cnpm_publish_time":1785871450928,"dist-tags":{"latest":"9.0.0-beta.0","next":"9.0.0-beta.1"}}