@platform/react.ssr
Version:
A lightweight SSR (server-side-rendering) system for react apps bundled with ParcelJS and hosted on S3.
1 lines • 3.7 kB
JSON
{"id":"rCeh","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/mergeScan.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/tslib/tslib.es6.js"},{"name":"../util/subscribeToResult","loc":{"line":3,"column":34},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/mergeScan.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"},{"name":"../OuterSubscriber","loc":{"line":4,"column":32},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/mergeScan.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"},{"name":"../InnerSubscriber","loc":{"line":5,"column":32},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/mergeScan.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/InnerSubscriber.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.mergeScan=s,exports.MergeScanSubscriber=exports.MergeScanOperator=void 0;var t=n(require(\"tslib\")),e=require(\"../util/subscribeToResult\"),r=require(\"../OuterSubscriber\"),i=require(\"../InnerSubscriber\");function n(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 s(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),function(i){return i.lift(new o(t,e,r))}}var o=function(){function t(t,e,r){this.accumulator=t,this.seed=e,this.concurrent=r}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.accumulator,this.seed,this.concurrent))},t}();exports.MergeScanOperator=o;var c=function(r){function n(t,e,i,n){var s=r.call(this,t)||this;return s.accumulator=e,s.acc=i,s.concurrent=n,s.hasValue=!1,s.hasCompleted=!1,s.buffer=[],s.active=0,s.index=0,s}return t.__extends(n,r),n.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,r=this.destination,i=void 0;try{i=(0,this.accumulator)(this.acc,t,e)}catch(n){return r.error(n)}this.active++,this._innerSub(i,t,e)}else this.buffer.push(t)},n.prototype._innerSub=function(t,r,n){var s=new i.InnerSubscriber(this,void 0,void 0);this.destination.add(s),(0,e.subscribeToResult)(this,t,r,n,s)},n.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},n.prototype.notifyNext=function(t,e,r,i,n){var s=this.destination;this.acc=e,this.hasValue=!0,s.next(e)},n.prototype.notifyComplete=function(t){var e=this.buffer;this.destination.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},n}(r.OuterSubscriber);exports.MergeScanSubscriber=c;"},"sourceMaps":null,"error":null,"hash":"2564f3587362fec6cf2c3624951084fb","cacheData":{"env":{}}}