UNPKG

@platform/react.ssr

Version:

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

1 lines 6.91 kB
{"id":"VtzX","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/@platform/react/node_modules/rxjs/package.json","includedInParent":true,"mtime":1566893276463},{"name":"tslib","loc":{"line":2,"column":25},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/Subscriber.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/tslib/tslib.es6.js"},{"name":"./util/isFunction","loc":{"line":3,"column":27},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/Subscriber.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/util/isFunction.js"},{"name":"./Observer","loc":{"line":4,"column":39},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/Subscriber.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/Observer.js"},{"name":"./Subscription","loc":{"line":5,"column":29},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/Subscriber.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/Subscription.js"},{"name":"../internal/symbol/rxSubscriber","loc":{"line":6,"column":51},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/Subscriber.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/symbol/rxSubscriber.js"},{"name":"./config","loc":{"line":7,"column":23},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/Subscriber.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/config.js"},{"name":"./util/hostReportError","loc":{"line":8,"column":32},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/Subscriber.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/@platform/react/node_modules/rxjs/_esm5/internal/util/hostReportError.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.SafeSubscriber=exports.Subscriber=void 0;var r=c(require(\"tslib\")),t=require(\"./util/isFunction\"),e=require(\"./Observer\"),n=require(\"./Subscription\"),s=require(\"../internal/symbol/rxSubscriber\"),i=require(\"./config\"),o=require(\"./util/hostReportError\");function c(r){if(r&&r.__esModule)return r;var t={};if(null!=r)for(var e in r)if(Object.prototype.hasOwnProperty.call(r,e)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(r,e):{};n.get||n.set?Object.defineProperty(t,e,n):t[e]=r[e]}return t.default=r,t}var u=function(t){function n(r,s,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=e.empty;break;case 1:if(!r){o.destination=e.empty;break}if(\"object\"==typeof r){r instanceof n?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new p(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new p(o,r,s,i)}return o}return r.__extends(n,t),n.prototype[s.rxSubscriber]=function(){return this},n.create=function(r,t,e){var s=new n(r,t,e);return s.syncErrorThrowable=!1,s},n.prototype.next=function(r){this.isStopped||this._next(r)},n.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},n.prototype._next=function(r){this.destination.next(r)},n.prototype._error=function(r){this.destination.error(r),this.unsubscribe()},n.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},n.prototype._unsubscribeAndRecycle=function(){var r=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=r,this},n}(n.Subscription);exports.Subscriber=u;var p=function(n){function s(r,s,i,o){var c,u=n.call(this)||this;u._parentSubscriber=r;var p=u;return(0,t.isFunction)(s)?c=s:s&&(c=s.next,i=s.error,o=s.complete,s!==e.empty&&(p=Object.create(s),(0,t.isFunction)(p.unsubscribe)&&u.add(p.unsubscribe.bind(p)),p.unsubscribe=u.unsubscribe.bind(u))),u._context=p,u._next=c,u._error=i,u._complete=o,u}return r.__extends(s,n),s.prototype.next=function(r){if(!this.isStopped&&this._next){var t=this._parentSubscriber;i.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,r)&&this.unsubscribe():this.__tryOrUnsub(this._next,r)}},s.prototype.error=function(r){if(!this.isStopped){var t=this._parentSubscriber,e=i.config.useDeprecatedSynchronousErrorHandling;if(this._error)e&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,r),this.unsubscribe()):(this.__tryOrUnsub(this._error,r),this.unsubscribe());else if(t.syncErrorThrowable)e?(t.syncErrorValue=r,t.syncErrorThrown=!0):(0,o.hostReportError)(r),this.unsubscribe();else{if(this.unsubscribe(),e)throw r;(0,o.hostReportError)(r)}}},s.prototype.complete=function(){var r=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var e=function(){return r._complete.call(r._context)};i.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}},s.prototype.__tryOrUnsub=function(r,t){try{r.call(this._context,t)}catch(e){if(this.unsubscribe(),i.config.useDeprecatedSynchronousErrorHandling)throw e;(0,o.hostReportError)(e)}},s.prototype.__tryOrSetError=function(r,t,e){if(!i.config.useDeprecatedSynchronousErrorHandling)throw new Error(\"bad call\");try{t.call(this._context,e)}catch(n){return i.config.useDeprecatedSynchronousErrorHandling?(r.syncErrorValue=n,r.syncErrorThrown=!0,!0):((0,o.hostReportError)(n),!0)}return!1},s.prototype._unsubscribe=function(){var r=this._parentSubscriber;this._context=null,this._parentSubscriber=null,r.unsubscribe()},s}(u);exports.SafeSubscriber=p;"},"sourceMaps":null,"error":null,"hash":"5f0fcab6c0d7712c91534dce5eb8b639","cacheData":{"env":{}}}