UNPKG

@platform/react.ssr

Version:

A lightweight SSR (server-side-rendering) system for react apps bundled with ParcelJS and hosted on S3.

1 lines 3.4 kB
{"id":"gL9F","dependencies":[{"name":"/Users/phil/code/@platform/code/react.ssr/sample/ui/.uiharness/package.json","includedInParent":true,"mtime":1567548362275},{"name":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/package.json","includedInParent":true,"mtime":1567547709152},{"name":"tslib","loc":{"line":2,"column":25},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/windowWhen.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/tslib/tslib.es6.js"},{"name":"../Subject","loc":{"line":3,"column":24},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/windowWhen.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/Subject.js"},{"name":"../OuterSubscriber","loc":{"line":4,"column":32},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/windowWhen.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":5,"column":34},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/windowWhen.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.windowWhen=r;var t=n(require(\"tslib\")),i=require(\"../Subject\"),e=require(\"../OuterSubscriber\"),o=require(\"../util/subscribeToResult\");function n(t){if(t&&t.__esModule)return t;var i={};if(null!=t)for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,e):{};o.get||o.set?Object.defineProperty(i,e,o):i[e]=t[e]}return i.default=t,i}function r(t){return function(i){return i.lift(new s(t))}}var s=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,i){return i.subscribe(new c(t,this.closingSelector))},t}(),c=function(e){function n(t,i){var o=e.call(this,t)||this;return o.destination=t,o.closingSelector=i,o.openWindow(),o}return t.__extends(n,e),n.prototype.notifyNext=function(t,i,e,o,n){this.openWindow(n)},n.prototype.notifyError=function(t,i){this._error(t)},n.prototype.notifyComplete=function(t){this.openWindow(t)},n.prototype._next=function(t){this.window.next(t)},n.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},n.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},n.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},n.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n,r=this.window=new i.Subject;this.destination.next(r);try{n=(0,this.closingSelector)()}catch(s){return this.destination.error(s),void this.window.error(s)}this.add(this.closingNotification=(0,o.subscribeToResult)(this,n))},n}(e.OuterSubscriber);"},"sourceMaps":null,"error":null,"hash":"32ac1b119c5d75a85fc8d7d0daf5b55b","cacheData":{"env":{}}}