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.33 kB
{"id":"VpKM","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/observable/zip.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/tslib/tslib.es6.js"},{"name":"./fromArray","loc":{"line":3,"column":26},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/observable/zip.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/observable/fromArray.js"},{"name":"../util/isArray","loc":{"line":4,"column":24},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/observable/zip.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/util/isArray.js"},{"name":"../Subscriber","loc":{"line":5,"column":27},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/observable/zip.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../OuterSubscriber","loc":{"line":6,"column":32},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/observable/zip.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../util/subscribeToResult","loc":{"line":7,"column":34},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/observable/zip.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"},{"name":"../../internal/symbol/iterator","loc":{"line":8,"column":44},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/observable/zip.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/symbol/iterator.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.zip=a,exports.ZipSubscriber=exports.ZipOperator=void 0;var t=u(require(\"tslib\")),e=require(\"./fromArray\"),r=require(\"../util/isArray\"),i=require(\"../Subscriber\"),n=require(\"../OuterSubscriber\"),o=require(\"../util/subscribeToResult\"),s=require(\"../../internal/symbol/iterator\");function u(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};i.get||i.set?Object.defineProperty(e,r,i):e[r]=t[r]}return e.default=t,e}function a(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=t[t.length-1];return\"function\"==typeof i&&t.pop(),(0,e.fromArray)(t,void 0).lift(new l(i))}var l=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.resultSelector))},t}();exports.ZipOperator=l;var p=function(e){function i(t,r,i){void 0===i&&(i=Object.create(null));var n=e.call(this,t)||this;return n.iterators=[],n.active=0,n.resultSelector=\"function\"==typeof r?r:null,n.values=i,n}return t.__extends(i,e),i.prototype._next=function(t){var e=this.iterators;(0,r.isArray)(t)?e.push(new c(t)):\"function\"==typeof t[s.iterator]?e.push(new h(t[s.iterator]())):e.push(new f(this.destination,this,t))},i.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var r=0;r<e;r++){var i=t[r];if(i.stillUnsubscribed)this.destination.add(i.subscribe(i,r));else this.active--}}else this.destination.complete()},i.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},i.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,r=this.destination,i=0;i<e;i++){if(\"function\"==typeof(s=t[i]).hasValue&&!s.hasValue())return}var n=!1,o=[];for(i=0;i<e;i++){var s,u=(s=t[i]).next();if(s.hasCompleted()&&(n=!0),u.done)return void r.complete();o.push(u.value)}this.resultSelector?this._tryresultSelector(o):r.next(o),n&&r.complete()},i.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(r){return void this.destination.error(r)}this.destination.next(e)},i}(i.Subscriber);exports.ZipSubscriber=p;var h=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),c=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[s.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,r=this.array;return e<this.length?{value:r[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),f=function(e){function r(t,r,i){var n=e.call(this,t)||this;return n.parent=r,n.observable=i,n.stillUnsubscribed=!0,n.buffer=[],n.isComplete=!1,n}return t.__extends(r,e),r.prototype[s.iterator]=function(){return this},r.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},r.prototype.hasValue=function(){return this.buffer.length>0},r.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},r.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},r.prototype.notifyNext=function(t,e,r,i,n){this.buffer.push(e),this.parent.checkIterators()},r.prototype.subscribe=function(t,e){return(0,o.subscribeToResult)(this,this.observable,this,e)},r}(n.OuterSubscriber);"},"sourceMaps":null,"error":null,"hash":"c90ca2d97baff0fc5364ba9563a26b7e","cacheData":{"env":{}}}