New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fluir

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluir - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

dist/fluir.min.js
/*!
* fluir v1.0.2
* fluir v1.0.3
* Url: https://github.com/z5h/fluir

@@ -14,2 +14,2 @@ * Copyright (c) Mark Bolusmjak

*/
(function(){"use strict";function i(t){return"function"==typeof t||"object"==typeof t&&null!==t}function o(t){return"function"==typeof t}function s(t){return"object"==typeof t&&null!==t}function a(){}function u(){return function(){e.nextTick(l)}}function c(){var t=0,e=new N(l),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function h(){var t=new MessageChannel;return t.port1.onmessage=l,function(){t.port2.postMessage(0)}}function f(){return function(){setTimeout(l,1)}}function l(){for(var t=0;D>t;t+=2){var e=W[t],n=W[t+1];e(n),W[t]=void 0,W[t+1]=void 0}D=0}function p(){}function d(){return new TypeError("You cannot resolve a promise with itself")}function v(){return new TypeError("A promises callback cannot return that same promise.")}function y(t){try{return t.then}catch(e){return V.error=e,V}}function m(t,e,n,r){try{t.call(e,n,r)}catch(i){return i}}function w(t,e,n){$(function(t){var r=!1,i=m(n,e,function(n){r||(r=!0,e!==n?b(t,n):x(t,n))},function(e){r||(r=!0,E(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&i&&(r=!0,E(t,i))},t)}function _(t,e){e._state===z?x(t,e._result):t._state===Y?E(t,e._result):L(e,void 0,function(e){b(t,e)},function(e){E(t,e)})}function g(t,e){if(e.constructor===t.constructor)_(t,e);else{var n=y(e);n===V?E(t,V.error):void 0===n?x(t,e):o(n)?w(t,e,n):x(t,e)}}function b(t,e){t===e?E(t,d()):i(e)?g(t,e):x(t,e)}function A(t){t._onerror&&t._onerror(t._result),j(t)}function x(t,e){t._state===q&&(t._result=e,t._state=z,0===t._subscribers.length||$(j,t))}function E(t,e){t._state===q&&(t._state=Y,t._result=e,$(A,t))}function L(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+z]=n,i[o+Y]=r,0===o&&t._state&&$(j,t)}function j(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,i,o=t._result,s=0;s<e.length;s+=3)r=e[s],i=e[s+n],r?R(n,r,i,o):i(o);t._subscribers.length=0}}function k(){this.error=null}function S(t,e){try{return t(e)}catch(n){return Z.error=n,Z}}function R(t,e,n,r){var i,s,a,u,c=o(n);if(c){if(i=S(n,r),i===Z?(u=!0,s=i.error,i=null):a=!0,e===i)return void E(e,v())}else i=r,a=!0;e._state!==q||(c&&a?b(e,i):u?E(e,s):t===z?x(e,i):t===Y&&E(e,i))}function O(t,e){try{e(function(e){b(t,e)},function(e){E(t,e)})}catch(n){E(t,n)}}function P(t,e,n,r){this._instanceConstructor=t,this.promise=new t(p,r),this._abortOnReject=n,this._validateInput(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._init(),0===this.length?x(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&x(this.promise,this._result))):E(this.promise,this._validationError())}function T(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function H(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function M(t,e){this._id=te++,this._label=e,this._state=void 0,this._result=void 0,this._subscribers=[],p!==t&&(o(t)||T(),this instanceof M||H(),O(this,t))}var C;C=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var B,U=C,D=(Date.now||function(){return(new Date).getTime()},Object.create||function(t){if(arguments.length>1)throw new Error("Second argument not supported");if("object"!=typeof t)throw new TypeError("Argument must be an object");return a.prototype=t,new a},0),$=function(t,e){W[D]=t,W[D+1]=e,D+=2,2===D&&B()},I="undefined"!=typeof window?window:{},N=I.MutationObserver||I.WebKitMutationObserver,F="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,W=new Array(1e3);B="undefined"!=typeof e&&"[object process]"==={}.toString.call(e)?u():N?c():F?h():f();var q=void 0,z=1,Y=2,V=new k,Z=new k;P.prototype._validateInput=function(t){return U(t)},P.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},P.prototype._init=function(){this._result=new Array(this.length)};var K=P;P.prototype._enumerate=function(){for(var t=this.length,e=this.promise,n=this._input,r=0;e._state===q&&t>r;r++)this._eachEntry(n[r],r)},P.prototype._eachEntry=function(t,e){var n=this._instanceConstructor;s(t)?t.constructor===n&&t._state!==q?(t._onerror=null,this._settledAt(t._state,e,t._result)):this._willSettleAt(n.resolve(t),e):(this._remaining--,this._result[e]=this._makeResult(z,e,t))},P.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===q&&(this._remaining--,this._abortOnReject&&t===Y?E(r,n):this._result[e]=this._makeResult(t,e,n)),0===this._remaining&&x(r,this._result)},P.prototype._makeResult=function(t,e,n){return n},P.prototype._willSettleAt=function(t,e){var n=this;L(t,void 0,function(t){n._settledAt(z,e,t)},function(t){n._settledAt(Y,e,t)})};var G=function(t,e){return new K(this,t,!0,e).promise},J=function(t,e){function n(t){b(o,t)}function r(t){E(o,t)}var i=this,o=new i(p,e);if(!U(t))return E(o,new TypeError("You must pass an array to race.")),o;for(var s=t.length,a=0;o._state===q&&s>a;a++)L(i.resolve(t[a]),void 0,n,r);return o},Q=function(t,e){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var r=new n(p,e);return b(r,t),r},X=function(t,e){var n=this,r=new n(p,e);return E(r,t),r},te=0,ee=M;M.all=G,M.race=J,M.resolve=Q,M.reject=X,M.prototype={constructor:M,then:function(t,e,n){var r=this,i=r._state;if(i===z&&!t||i===Y&&!e)return this;r._onerror=null;var o=new this.constructor(p,n),s=r._result;if(i){var a=arguments[i-1];$(function(){R(i,o,a,s)})}else L(r,o,t,e);return o},"catch":function(t,e){return this.then(null,t,e)}};var ne=function(){var t;t="undefined"!=typeof r?r:"undefined"!=typeof window&&window.document?window:self;var e="Promise"in t&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&function(){var e;return new t.Promise(function(t){e=t}),o(e)}();e||(t.Promise=ee)},re={Promise:ee,polyfill:ne};"function"==typeof t&&t.amd?t(function(){return re}):"undefined"!=typeof n&&n.exports?n.exports=re:"undefined"!=typeof this&&(this.ES6Promise=re)}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:6}]},{},[1])(1)}),fluir.version="1.0.2";
(function(){"use strict";function i(t){return"function"==typeof t||"object"==typeof t&&null!==t}function o(t){return"function"==typeof t}function s(t){return"object"==typeof t&&null!==t}function a(){}function u(){return function(){e.nextTick(l)}}function c(){var t=0,e=new N(l),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function h(){var t=new MessageChannel;return t.port1.onmessage=l,function(){t.port2.postMessage(0)}}function f(){return function(){setTimeout(l,1)}}function l(){for(var t=0;D>t;t+=2){var e=W[t],n=W[t+1];e(n),W[t]=void 0,W[t+1]=void 0}D=0}function p(){}function d(){return new TypeError("You cannot resolve a promise with itself")}function v(){return new TypeError("A promises callback cannot return that same promise.")}function y(t){try{return t.then}catch(e){return V.error=e,V}}function m(t,e,n,r){try{t.call(e,n,r)}catch(i){return i}}function w(t,e,n){$(function(t){var r=!1,i=m(n,e,function(n){r||(r=!0,e!==n?b(t,n):x(t,n))},function(e){r||(r=!0,E(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&i&&(r=!0,E(t,i))},t)}function _(t,e){e._state===z?x(t,e._result):t._state===Y?E(t,e._result):L(e,void 0,function(e){b(t,e)},function(e){E(t,e)})}function g(t,e){if(e.constructor===t.constructor)_(t,e);else{var n=y(e);n===V?E(t,V.error):void 0===n?x(t,e):o(n)?w(t,e,n):x(t,e)}}function b(t,e){t===e?E(t,d()):i(e)?g(t,e):x(t,e)}function A(t){t._onerror&&t._onerror(t._result),j(t)}function x(t,e){t._state===q&&(t._result=e,t._state=z,0===t._subscribers.length||$(j,t))}function E(t,e){t._state===q&&(t._state=Y,t._result=e,$(A,t))}function L(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+z]=n,i[o+Y]=r,0===o&&t._state&&$(j,t)}function j(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,i,o=t._result,s=0;s<e.length;s+=3)r=e[s],i=e[s+n],r?R(n,r,i,o):i(o);t._subscribers.length=0}}function k(){this.error=null}function S(t,e){try{return t(e)}catch(n){return Z.error=n,Z}}function R(t,e,n,r){var i,s,a,u,c=o(n);if(c){if(i=S(n,r),i===Z?(u=!0,s=i.error,i=null):a=!0,e===i)return void E(e,v())}else i=r,a=!0;e._state!==q||(c&&a?b(e,i):u?E(e,s):t===z?x(e,i):t===Y&&E(e,i))}function O(t,e){try{e(function(e){b(t,e)},function(e){E(t,e)})}catch(n){E(t,n)}}function P(t,e,n,r){this._instanceConstructor=t,this.promise=new t(p,r),this._abortOnReject=n,this._validateInput(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._init(),0===this.length?x(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&x(this.promise,this._result))):E(this.promise,this._validationError())}function T(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function H(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function M(t,e){this._id=te++,this._label=e,this._state=void 0,this._result=void 0,this._subscribers=[],p!==t&&(o(t)||T(),this instanceof M||H(),O(this,t))}var C;C=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var B,U=C,D=(Date.now||function(){return(new Date).getTime()},Object.create||function(t){if(arguments.length>1)throw new Error("Second argument not supported");if("object"!=typeof t)throw new TypeError("Argument must be an object");return a.prototype=t,new a},0),$=function(t,e){W[D]=t,W[D+1]=e,D+=2,2===D&&B()},I="undefined"!=typeof window?window:{},N=I.MutationObserver||I.WebKitMutationObserver,F="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,W=new Array(1e3);B="undefined"!=typeof e&&"[object process]"==={}.toString.call(e)?u():N?c():F?h():f();var q=void 0,z=1,Y=2,V=new k,Z=new k;P.prototype._validateInput=function(t){return U(t)},P.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},P.prototype._init=function(){this._result=new Array(this.length)};var K=P;P.prototype._enumerate=function(){for(var t=this.length,e=this.promise,n=this._input,r=0;e._state===q&&t>r;r++)this._eachEntry(n[r],r)},P.prototype._eachEntry=function(t,e){var n=this._instanceConstructor;s(t)?t.constructor===n&&t._state!==q?(t._onerror=null,this._settledAt(t._state,e,t._result)):this._willSettleAt(n.resolve(t),e):(this._remaining--,this._result[e]=this._makeResult(z,e,t))},P.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===q&&(this._remaining--,this._abortOnReject&&t===Y?E(r,n):this._result[e]=this._makeResult(t,e,n)),0===this._remaining&&x(r,this._result)},P.prototype._makeResult=function(t,e,n){return n},P.prototype._willSettleAt=function(t,e){var n=this;L(t,void 0,function(t){n._settledAt(z,e,t)},function(t){n._settledAt(Y,e,t)})};var G=function(t,e){return new K(this,t,!0,e).promise},J=function(t,e){function n(t){b(o,t)}function r(t){E(o,t)}var i=this,o=new i(p,e);if(!U(t))return E(o,new TypeError("You must pass an array to race.")),o;for(var s=t.length,a=0;o._state===q&&s>a;a++)L(i.resolve(t[a]),void 0,n,r);return o},Q=function(t,e){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var r=new n(p,e);return b(r,t),r},X=function(t,e){var n=this,r=new n(p,e);return E(r,t),r},te=0,ee=M;M.all=G,M.race=J,M.resolve=Q,M.reject=X,M.prototype={constructor:M,then:function(t,e,n){var r=this,i=r._state;if(i===z&&!t||i===Y&&!e)return this;r._onerror=null;var o=new this.constructor(p,n),s=r._result;if(i){var a=arguments[i-1];$(function(){R(i,o,a,s)})}else L(r,o,t,e);return o},"catch":function(t,e){return this.then(null,t,e)}};var ne=function(){var t;t="undefined"!=typeof r?r:"undefined"!=typeof window&&window.document?window:self;var e="Promise"in t&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&function(){var e;return new t.Promise(function(t){e=t}),o(e)}();e||(t.Promise=ee)},re={Promise:ee,polyfill:ne};"function"==typeof t&&t.amd?t(function(){return re}):"undefined"!=typeof n&&n.exports?n.exports=re:"undefined"!=typeof this&&(this.ES6Promise=re)}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:6}]},{},[1])(1)}),fluir.version="1.0.3";
{
"name": "fluir",
"version": "1.0.2",
"version": "1.0.3",
"description": "Dispatcher, router, store helper for React apps.",

@@ -29,3 +29,4 @@ "main": "index.js",

"store",
"react"
"react",
"flux"
],

@@ -32,0 +33,0 @@ "author": "Mark Bolusmjak",

@@ -15,6 +15,3 @@ #fluir#

##important!##
The API is a bit of a moving target right now and the upcoming [1.0.0 branch](https://github.com/z5h/fluir/tree/1.0.0) contains significant changes.
##install##

@@ -21,0 +18,0 @@ ```npm install fluir```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc