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

@brigad/redux-rest-easy

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brigad/redux-rest-easy - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

18

dist/redux-rest-easy.umd.min.js

@@ -16,6 +16,6 @@ 'use strict';(function(x,J){"object"===typeof exports&&"undefined"!==typeof module?J(exports,require("react"),require("react-redux")):"function"===typeof define&&define.amd?define(["exports","react","react-redux"],J):(x=x||self,J(x.ReduxRestEasy={},x.React,x.ReactRedux))})(this,function(x,J,Ua){function Va(){throw Error("Dynamic requires are not currently supported by rollup-plugin-commonjs");}function va(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}function P(h,

Symbol:{},E=A.iterator||"@@iterator",ka=A.asyncIterator||"@@asyncIterator",U=A.toStringTag||"@@toStringTag",B=g.regeneratorRuntime;if(B)h.exports=B;else{B=g.regeneratorRuntime=h.exports;B.wrap=a;var v="suspendedStart",ja="suspendedYield",t="executing",w="completed",K={};g={};g[E]=function(){return this};(A=(A=Object.getPrototypeOf)&&A(A(l([]))))&&A!==y&&z.call(A,E)&&(g=A);var x=d.prototype=c.prototype=Object.create(g);e.prototype=x.constructor=d;d.constructor=e;d[U]=e.displayName="GeneratorFunction";
B.isGeneratorFunction=function(a){return(a="function"===typeof a&&a.constructor)?a===e||"GeneratorFunction"===(a.displayName||a.name):!1};B.mark=function(a){Object.setPrototypeOf?Object.setPrototypeOf(a,d):(a.__proto__=d,U in a||(a[U]="GeneratorFunction"));a.prototype=Object.create(x);return a};B.awrap=function(a){return{__await:a}};f(k.prototype);k.prototype[ka]=function(){return this};B.AsyncIterator=k;B.async=function(b,c,d,f){var e=new k(a(b,c,d,f));return B.isGeneratorFunction(c)?e:e.next().then(function(a){return a.done?
a.value:e.next()})};f(x);x[U]="Generator";x[E]=function(){return this};x.toString=function(){return"[object Generator]"};B.keys=function(a){var b=[],c;for(c in a)b.push(c);b.reverse();return function D(){for(;b.length;){var c=b.pop();if(c in a)return D.value=c,D.done=!1,D}D.done=!0;return D}};B.values=l;q.prototype={constructor:q,reset:function(a){this.next=this.prev=0;this.sent=this._sent=I;this.done=!1;this.delegate=null;this.method="next";this.arg=I;this.tryEntries.forEach(u);if(!a)for(var b in this)"t"===
b.charAt(0)&&z.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=I)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(a){function b(b,d){e.type="throw";e.arg=a;c.next=b;d&&(c.method="next",c.arg=I);return!!d}if(this.done)throw a;for(var c=this,d=this.tryEntries.length-1;0<=d;--d){var f=this.tryEntries[d],e=f.completion;if("root"===f.tryLoc)return b("end");if(f.tryLoc<=this.prev){var r=z.call(f,"catchLoc"),g=z.call(f,
"finallyLoc");if(r&&g){if(this.prev<f.catchLoc)return b(f.catchLoc,!0);if(this.prev<f.finallyLoc)return b(f.finallyLoc)}else if(r){if(this.prev<f.catchLoc)return b(f.catchLoc,!0)}else if(g){if(this.prev<f.finallyLoc)return b(f.finallyLoc)}else throw Error("try statement without catch or finally");}}},abrupt:function(a,b){for(var c=this.tryEntries.length-1;0<=c;--c){var d=this.tryEntries[c];if(d.tryLoc<=this.prev&&z.call(d,"finallyLoc")&&this.prev<d.finallyLoc){var f=d;break}}f&&("break"===a||"continue"===
B.isGeneratorFunction=function(a){return(a="function"===typeof a&&a.constructor)?a===e||"GeneratorFunction"===(a.displayName||a.name):!1};B.mark=function(a){Object.setPrototypeOf?Object.setPrototypeOf(a,d):(a.__proto__=d,U in a||(a[U]="GeneratorFunction"));a.prototype=Object.create(x);return a};B.awrap=function(a){return{__await:a}};f(k.prototype);k.prototype[ka]=function(){return this};B.AsyncIterator=k;B.async=function(b,c,d,f){var r=new k(a(b,c,d,f));return B.isGeneratorFunction(c)?r:r.next().then(function(a){return a.done?
a.value:r.next()})};f(x);x[U]="Generator";x[E]=function(){return this};x.toString=function(){return"[object Generator]"};B.keys=function(a){var b=[],c;for(c in a)b.push(c);b.reverse();return function D(){for(;b.length;){var c=b.pop();if(c in a)return D.value=c,D.done=!1,D}D.done=!0;return D}};B.values=l;q.prototype={constructor:q,reset:function(a){this.next=this.prev=0;this.sent=this._sent=I;this.done=!1;this.delegate=null;this.method="next";this.arg=I;this.tryEntries.forEach(u);if(!a)for(var b in this)"t"===
b.charAt(0)&&z.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=I)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(a){function b(b,d){r.type="throw";r.arg=a;c.next=b;d&&(c.method="next",c.arg=I);return!!d}if(this.done)throw a;for(var c=this,d=this.tryEntries.length-1;0<=d;--d){var f=this.tryEntries[d],r=f.completion;if("root"===f.tryLoc)return b("end");if(f.tryLoc<=this.prev){var e=z.call(f,"catchLoc"),g=z.call(f,
"finallyLoc");if(e&&g){if(this.prev<f.catchLoc)return b(f.catchLoc,!0);if(this.prev<f.finallyLoc)return b(f.finallyLoc)}else if(e){if(this.prev<f.catchLoc)return b(f.catchLoc,!0)}else if(g){if(this.prev<f.finallyLoc)return b(f.finallyLoc)}else throw Error("try statement without catch or finally");}}},abrupt:function(a,b){for(var c=this.tryEntries.length-1;0<=c;--c){var d=this.tryEntries[c];if(d.tryLoc<=this.prev&&z.call(d,"finallyLoc")&&this.prev<d.finallyLoc){var f=d;break}}f&&("break"===a||"continue"===
a)&&f.tryLoc<=b&&b<=f.finallyLoc&&(f=null);c=f?f.completion:{};c.type=a;c.arg=b;return f?(this.method="next",this.next=f.finallyLoc,K):this.complete(c)},complete:function(a,b){if("throw"===a.type)throw a.arg;"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&b&&(this.next=b);return K},finish:function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.finallyLoc===a)return this.complete(c.completion,

@@ -72,6 +72,6 @@ c.afterLoc),u(c),K}},"catch":function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.tryLoc===a){a=c.completion;if("throw"===a.type){var d=a.arg;u(c)}return d}}throw Error("illegal catch attempt");},delegateYield:function(a,b,c){this.delegate={iterator:l(a),resultName:b,nextLoc:c};"next"===this.method&&(this.arg=I);return K}}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())});var Ea=P(function(h,g){function a(a){if("object"===typeof a&&

1]);a=p(a,[4283543511,3981806797]);a=q(a,[0,a[0]>>>1]);a=p(a,[3301882366,444984403]);return a=q(a,[0,a[0]>>>1])}c={version:"2.1.2",x86:{},x64:{}};c.x86.hash32=function(a,b){a=a||"";var c=a.length%4,e=a.length-c;b=b||0;for(var r,n=0;n<e;n+=4)r=a.charCodeAt(n)&255|(a.charCodeAt(n+1)&255)<<8|(a.charCodeAt(n+2)&255)<<16|(a.charCodeAt(n+3)&255)<<24,r=d(r,3432918353),r=f(r,15),r=d(r,461845907),b^=r,b=f(b,13),b=d(b,5)+3864292196;r=0;switch(c){case 3:r^=(a.charCodeAt(n+2)&255)<<16;case 2:r^=(a.charCodeAt(n+
1)&255)<<8;case 1:r^=a.charCodeAt(n)&255,r=d(r,3432918353),r=f(r,15),r=d(r,461845907),b^=r}b^=a.length;b=k(b);return b>>>0};c.x86.hash128=function(a,b){a=a||"";b=b||0;for(var c=a.length%16,e=a.length-c,n=b,m=b,l=b,r,p,q,u,t=0;t<e;t+=16)r=a.charCodeAt(t)&255|(a.charCodeAt(t+1)&255)<<8|(a.charCodeAt(t+2)&255)<<16|(a.charCodeAt(t+3)&255)<<24,p=a.charCodeAt(t+4)&255|(a.charCodeAt(t+5)&255)<<8|(a.charCodeAt(t+6)&255)<<16|(a.charCodeAt(t+7)&255)<<24,q=a.charCodeAt(t+8)&255|(a.charCodeAt(t+9)&255)<<8|(a.charCodeAt(t+
10)&255)<<16|(a.charCodeAt(t+11)&255)<<24,u=a.charCodeAt(t+12)&255|(a.charCodeAt(t+13)&255)<<8|(a.charCodeAt(t+14)&255)<<16|(a.charCodeAt(t+15)&255)<<24,r=d(r,597399067),r=f(r,15),r=d(r,2869860233),n^=r,n=f(n,19),n+=m,n=d(n,5)+1444728091,p=d(p,2869860233),p=f(p,16),p=d(p,951274213),m^=p,m=f(m,17),m+=l,m=d(m,5)+197830471,q=d(q,951274213),q=f(q,17),q=d(q,2716044179),l^=q,l=f(l,15),l+=b,l=d(l,5)+2530024501,u=d(u,2716044179),u=f(u,18),u=d(u,597399067),b^=u,b=f(b,13),b+=n,b=d(b,5)+850148119;u=q=p=r=0;
switch(c){case 15:u^=a.charCodeAt(t+14)<<16;case 14:u^=a.charCodeAt(t+13)<<8;case 13:u^=a.charCodeAt(t+12),u=d(u,2716044179),u=f(u,18),u=d(u,597399067),b^=u;case 12:q^=a.charCodeAt(t+11)<<24;case 11:q^=a.charCodeAt(t+10)<<16;case 10:q^=a.charCodeAt(t+9)<<8;case 9:q^=a.charCodeAt(t+8),q=d(q,951274213),q=f(q,17),q=d(q,2716044179),l^=q;case 8:p^=a.charCodeAt(t+7)<<24;case 7:p^=a.charCodeAt(t+6)<<16;case 6:p^=a.charCodeAt(t+5)<<8;case 5:p^=a.charCodeAt(t+4),p=d(p,2869860233),p=f(p,16),p=d(p,951274213),
m^=p;case 4:r^=a.charCodeAt(t+3)<<24;case 3:r^=a.charCodeAt(t+2)<<16;case 2:r^=a.charCodeAt(t+1)<<8;case 1:r^=a.charCodeAt(t),r=d(r,597399067),r=f(r,15),r=d(r,2869860233),n^=r}n^=a.length;m^=a.length;l^=a.length;b^=a.length;n=n+m+l+b;m+=n;l+=n;b+=n;n=k(n);m=k(m);l=k(l);b=k(b);n=n+m+l+b;m+=n;l+=n;b+=n;return("00000000"+(n>>>0).toString(16)).slice(-8)+("00000000"+(m>>>0).toString(16)).slice(-8)+("00000000"+(l>>>0).toString(16)).slice(-8)+("00000000"+(b>>>0).toString(16)).slice(-8)};c.x64.hash128=function(a,
1)&255)<<8;case 1:r^=a.charCodeAt(n)&255,r=d(r,3432918353),r=f(r,15),r=d(r,461845907),b^=r}b^=a.length;b=k(b);return b>>>0};c.x86.hash128=function(a,b){a=a||"";b=b||0;for(var c=a.length%16,e=a.length-c,n=b,m=b,r=b,l,p,q,u,t=0;t<e;t+=16)l=a.charCodeAt(t)&255|(a.charCodeAt(t+1)&255)<<8|(a.charCodeAt(t+2)&255)<<16|(a.charCodeAt(t+3)&255)<<24,p=a.charCodeAt(t+4)&255|(a.charCodeAt(t+5)&255)<<8|(a.charCodeAt(t+6)&255)<<16|(a.charCodeAt(t+7)&255)<<24,q=a.charCodeAt(t+8)&255|(a.charCodeAt(t+9)&255)<<8|(a.charCodeAt(t+
10)&255)<<16|(a.charCodeAt(t+11)&255)<<24,u=a.charCodeAt(t+12)&255|(a.charCodeAt(t+13)&255)<<8|(a.charCodeAt(t+14)&255)<<16|(a.charCodeAt(t+15)&255)<<24,l=d(l,597399067),l=f(l,15),l=d(l,2869860233),n^=l,n=f(n,19),n+=m,n=d(n,5)+1444728091,p=d(p,2869860233),p=f(p,16),p=d(p,951274213),m^=p,m=f(m,17),m+=r,m=d(m,5)+197830471,q=d(q,951274213),q=f(q,17),q=d(q,2716044179),r^=q,r=f(r,15),r+=b,r=d(r,5)+2530024501,u=d(u,2716044179),u=f(u,18),u=d(u,597399067),b^=u,b=f(b,13),b+=n,b=d(b,5)+850148119;u=q=p=l=0;
switch(c){case 15:u^=a.charCodeAt(t+14)<<16;case 14:u^=a.charCodeAt(t+13)<<8;case 13:u^=a.charCodeAt(t+12),u=d(u,2716044179),u=f(u,18),u=d(u,597399067),b^=u;case 12:q^=a.charCodeAt(t+11)<<24;case 11:q^=a.charCodeAt(t+10)<<16;case 10:q^=a.charCodeAt(t+9)<<8;case 9:q^=a.charCodeAt(t+8),q=d(q,951274213),q=f(q,17),q=d(q,2716044179),r^=q;case 8:p^=a.charCodeAt(t+7)<<24;case 7:p^=a.charCodeAt(t+6)<<16;case 6:p^=a.charCodeAt(t+5)<<8;case 5:p^=a.charCodeAt(t+4),p=d(p,2869860233),p=f(p,16),p=d(p,951274213),
m^=p;case 4:l^=a.charCodeAt(t+3)<<24;case 3:l^=a.charCodeAt(t+2)<<16;case 2:l^=a.charCodeAt(t+1)<<8;case 1:l^=a.charCodeAt(t),l=d(l,597399067),l=f(l,15),l=d(l,2869860233),n^=l}n^=a.length;m^=a.length;r^=a.length;b^=a.length;n=n+m+r+b;m+=n;r+=n;b+=n;n=k(n);m=k(m);r=k(r);b=k(b);n=n+m+r+b;m+=n;r+=n;b+=n;return("00000000"+(n>>>0).toString(16)).slice(-8)+("00000000"+(m>>>0).toString(16)).slice(-8)+("00000000"+(r>>>0).toString(16)).slice(-8)+("00000000"+(b>>>0).toString(16)).slice(-8)};c.x64.hash128=function(a,
b){a=a||"";b=b||0;var c=a.length%16,d=a.length-c,f=[0,b];b=[0,b];for(var e,k,u=[2277735313,289559509],r=[1291169091,658871167],v=0;v<d;v+=16)e=[a.charCodeAt(v+4)&255|(a.charCodeAt(v+5)&255)<<8|(a.charCodeAt(v+6)&255)<<16|(a.charCodeAt(v+7)&255)<<24,a.charCodeAt(v)&255|(a.charCodeAt(v+1)&255)<<8|(a.charCodeAt(v+2)&255)<<16|(a.charCodeAt(v+3)&255)<<24],k=[a.charCodeAt(v+12)&255|(a.charCodeAt(v+13)&255)<<8|(a.charCodeAt(v+14)&255)<<16|(a.charCodeAt(v+15)&255)<<24,a.charCodeAt(v+8)&255|(a.charCodeAt(v+

@@ -98,3 +98,3 @@ 9)&255)<<8|(a.charCodeAt(v+10)&255)<<16|(a.charCodeAt(v+11)&255)<<24],e=p(e,u),e=n(e,31),e=p(e,r),f=q(f,e),f=n(f,27),f=m(f,b),f=m(p(f,[0,5]),[0,1390208809]),k=p(k,r),k=n(k,33),k=p(k,u),b=q(b,k),b=n(b,31),b=m(b,f),b=m(p(b,[0,5]),[0,944331445]);e=[0,0];k=[0,0];switch(c){case 15:k=q(k,l([0,a.charCodeAt(v+14)],48));case 14:k=q(k,l([0,a.charCodeAt(v+13)],40));case 13:k=q(k,l([0,a.charCodeAt(v+12)],32));case 12:k=q(k,l([0,a.charCodeAt(v+11)],24));case 11:k=q(k,l([0,a.charCodeAt(v+10)],16));case 10:k=q(k,

ac=function(a,b){var c=void 0===b?{}:b;b=c.alwaysPersist;c=c.neverPersist;if(!a||!Object.keys(a).length)return{};var e="string"===typeof b?[b]:b,d="string"===typeof c?[c]:c,f=Object.entries(a.requests||{}).reduce(function(a,b){var c,f,k=b[0];b=b[1];return l({},a,b&&b.endedAt&&e&&b.payloadIds&&Object.keys(b.payloadIds).some(function(a){return e.includes(a)})?(c={},c[k]=b,c):!b||!b.endedAt||b.didInvalidate||pa(b.expireAt)||d&&b.payloadIds&&Object.keys(b.payloadIds).some(function(a){return d.includes(a)})?
{}:(f={},f[k]="never"===b.expireAt?l({},b,{didInvalidate:!0}):b,f))},{}),k=Object.values(f).reduce(function(a,b){return l({},a,Object.entries(b.payloadIds||{}).reduce(function(a,b){var c,d=b[0];b=b[1];return l({},a,(c={},c[d]=[].concat(a[d]||[],b.map(function(a){return a.toString()})),c))},{}))},{});b=Object.entries(a.resources||{}).reduce(function(a,b){var c,d=b[0];b=b[1];return l({},a,(c={},c[d]=Object.entries(b||{}).reduce(function(a,b){var c,e=b[0];b=b[1];return l({},a,k[d]&&k[d].includes(e)?
{}:(f={},f[k]="never"===b.expireAt?l({},b,{didInvalidate:!0}):b,f))},{}),k=Object.values(f).reduce(function(a,b){return l({},a,Object.entries(b.payloadIds||{}).reduce(function(b,c){var d,e=c[0];c=c[1];return l({},b,(d={},d[e]=[].concat(a[e]||[],b[e]||[],c.map(function(a){return a.toString()})),d))},{}))},{});b=Object.entries(a.resources||{}).reduce(function(a,b){var c,d=b[0];b=b[1];return l({},a,(c={},c[d]=Object.entries(b||{}).reduce(function(a,b){var c,e=b[0];b=b[1];return l({},a,k[d]&&k[d].includes(e)?
(c={},c[e]=b,c):{})},{}),c))},{});var m=Object.entries(b).reduce(function(a,b){var c,d=b[0];b=b[1];return l({},a,Object.keys(b).length?(c={},c[d]=b,c):{})},{});b=l({},a.resolversHashes||{},{requests:Object.entries(a.resolversHashes&&a.resolversHashes.requests?a.resolversHashes.requests:{}).reduce(function(a,b){var c,d=b[0];b=b[1];return l({},a,f[d]?(c={},c[d]=b,c):{})},{}),resources:Object.entries(a.resolversHashes&&a.resolversHashes.resources?a.resolversHashes.resources:{}).reduce(function(b,c){var d,

@@ -101,0 +101,0 @@ e=c[0];c=c[1];return l({},b,m[e]&&Object.keys(a.resources[e]).length===Object.keys(m[e]).length?(d={},d[e]=c,d):{})},{})});return l({},a,{requests:f,resources:m,resolversHashes:b})};x.connect=function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return function(a){var c=a.displayName||a.name||"Component",e=function(c){function d(d){var e=c.call(this,d)||this;Wa(ya(ya(e)),"onInjectProps",function(a,b){e.setState(function(c){var d;return c.__requestURLsByActionKey[a]!==b?{__requestURLsByActionKey:l({},

{
"name": "@brigad/redux-rest-easy",
"version": "3.0.1",
"version": "3.0.2",
"description": "Redux/React/React Native framework generating actions, reducers and selectors to perform network requests",

@@ -5,0 +5,0 @@ "main": "dist/redux-rest-easy.cjs.js",

@@ -58,2 +58,3 @@ /* eslint-disable no-nested-ternary */

[resourceName]: [
...(allResources[resourceName] || []),
...(requestResources[resourceName] || []),

@@ -60,0 +61,0 @@ ...resourceIds.map(id => id.toString()),

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

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

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