Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

frint-component-utils

Package Overview
Dependencies
Maintainers
7
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frint-component-utils - npm Package Compare versions

Comparing version 5.4.0 to 5.4.1

2

dist/frint-component-utils.js

@@ -10,3 +10,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

root["FrintComponentUtils"] = factory(root["_"]["isPlainObject"], root["Rx"]["Observable"], root["Rx"]["Observable"], root["Rx"]["operators"], root["Rx"]["operators"]);
})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_5__, __WEBPACK_EXTERNAL_MODULE_6__, __WEBPACK_EXTERNAL_MODULE_7__, __WEBPACK_EXTERNAL_MODULE_8__, __WEBPACK_EXTERNAL_MODULE_9__) {
})(this, function(__WEBPACK_EXTERNAL_MODULE_5__, __WEBPACK_EXTERNAL_MODULE_6__, __WEBPACK_EXTERNAL_MODULE_7__, __WEBPACK_EXTERNAL_MODULE_8__, __WEBPACK_EXTERNAL_MODULE_9__) {
return /******/ (function(modules) { // webpackBootstrap

@@ -13,0 +13,0 @@ /******/ // The module cache

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("lodash/isPlainObject"),require("rxjs/observable/of"),require("rxjs/observable/merge"),require("rxjs/operators/concatMap"),require("rxjs/operators/scan")):"function"==typeof define&&define.amd?define(["lodash/isPlainObject","rxjs/observable/of","rxjs/observable/merge","rxjs/operators/concatMap","rxjs/operators/scan"],t):"object"==typeof exports?exports.FrintComponentUtils=t(require("lodash/isPlainObject"),require("rxjs/observable/of"),require("rxjs/observable/merge"),require("rxjs/operators/concatMap"),require("rxjs/operators/scan")):e.FrintComponentUtils=t(e._.isPlainObject,e.Rx.Observable,e.Rx.Observable,e.Rx.operators,e.Rx.operators)}("undefined"!=typeof self?self:this,function(e,t,r,n,o){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={app:null,component:null,initialize:function(){},beforeDestroy:function(){},getInitialData:function(){return{}},setData:function(e,t){},setDataWithCallback:function(e,t,r){this.setData(e,t),r()},getData:function(e){},getProp:function(e){},getProps:function(){},beforeMount:function(){},afterMount:function(){},beforeUpdate:function(){},shouldUpdate:function(e,t){},afterUpdate:function(){},getMountableComponent:function(e){return e.get("component")}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return!(!e||"function"!=typeof e.subscribe)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(3),u=n(o),a=r(0),i=n(a),s=r(1),f=n(s),c=r(4),l=n(c);t.default={composeHandlers:u.default,DefaultHandler:i.default,isObservable:f.default,streamProps:l.default},e.exports=t.default},function(e,t,r){"use strict";function n(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];[a.default].concat(r).forEach(function(t){Object.keys(t).forEach(function(r){e[r]=t[r],"function"==typeof t[r]&&(e[r]=e[r].bind(e))})})}function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return new(Function.prototype.bind.apply(n,[null].concat(t)))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var u=r(0),a=function(e){return e&&e.__esModule?e:{default:e}}(u);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new x(e)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.default=i;var c=r(5),l=n(c),p=r(6),b=r(7),d=r(8),v=r(9),h=r(1),y=n(h),x=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),this._defaults=t,this._observables=[(0,p.of)(t)]}return f(e,[{key:"_push",value:function(e){this._observables.push(e)}},{key:"set",value:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"string"==typeof e?this.setKey(e,r[0]):(0,l.default)(e)?this.setPlainObject(e):(0,y.default)(e)?this.setObservable.apply(this,[e].concat(r)):this}},{key:"setKey",value:function(e,t){return this._push((0,p.of)(u({},e,t))),this}},{key:"setPlainObject",value:function(e){return this._push((0,p.of)(e)),this}},{key:"setObservable",value:function(e){for(var t=e,r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach(function(e){t=t.pipe((0,d.concatMap)(function(t){var r=e(t);return(0,y.default)(r)?r:(0,p.of)(r)}))}),this._push(t),this}},{key:"setDispatch",value:function(e,t){var r={};return Object.keys(e).forEach(function(n){var o=e[n];r[n]=function(){return t.dispatch(o.apply(void 0,arguments))}}),this._push((0,p.of)(r)),this}},{key:"get$",value:function(){var e=b.merge.apply(void 0,o(this._observables)).pipe((0,v.scan)(function(e,t){return s({},e,t)}));return e.defaultProps=this._defaults,e}}]),e}();e.exports=t.default},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=o}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("lodash/isPlainObject"),require("rxjs/observable/of"),require("rxjs/observable/merge"),require("rxjs/operators/concatMap"),require("rxjs/operators/scan")):"function"==typeof define&&define.amd?define(["lodash/isPlainObject","rxjs/observable/of","rxjs/observable/merge","rxjs/operators/concatMap","rxjs/operators/scan"],t):"object"==typeof exports?exports.FrintComponentUtils=t(require("lodash/isPlainObject"),require("rxjs/observable/of"),require("rxjs/observable/merge"),require("rxjs/operators/concatMap"),require("rxjs/operators/scan")):e.FrintComponentUtils=t(e._.isPlainObject,e.Rx.Observable,e.Rx.Observable,e.Rx.operators,e.Rx.operators)}(this,function(e,t,r,n,o){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={app:null,component:null,initialize:function(){},beforeDestroy:function(){},getInitialData:function(){return{}},setData:function(e,t){},setDataWithCallback:function(e,t,r){this.setData(e,t),r()},getData:function(e){},getProp:function(e){},getProps:function(){},beforeMount:function(){},afterMount:function(){},beforeUpdate:function(){},shouldUpdate:function(e,t){},afterUpdate:function(){},getMountableComponent:function(e){return e.get("component")}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return!(!e||"function"!=typeof e.subscribe)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(3),u=n(o),a=r(0),i=n(a),s=r(1),f=n(s),c=r(4),l=n(c);t.default={composeHandlers:u.default,DefaultHandler:i.default,isObservable:f.default,streamProps:l.default},e.exports=t.default},function(e,t,r){"use strict";function n(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];[a.default].concat(r).forEach(function(t){Object.keys(t).forEach(function(r){e[r]=t[r],"function"==typeof t[r]&&(e[r]=e[r].bind(e))})})}function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return new(Function.prototype.bind.apply(n,[null].concat(t)))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var u=r(0),a=function(e){return e&&e.__esModule?e:{default:e}}(u);e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new x(e)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();t.default=i;var c=r(5),l=n(c),p=r(6),b=r(7),d=r(8),v=r(9),h=r(1),y=n(h),x=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a(this,e),this._defaults=t,this._observables=[(0,p.of)(t)]}return f(e,[{key:"_push",value:function(e){this._observables.push(e)}},{key:"set",value:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"string"==typeof e?this.setKey(e,r[0]):(0,l.default)(e)?this.setPlainObject(e):(0,y.default)(e)?this.setObservable.apply(this,[e].concat(r)):this}},{key:"setKey",value:function(e,t){return this._push((0,p.of)(u({},e,t))),this}},{key:"setPlainObject",value:function(e){return this._push((0,p.of)(e)),this}},{key:"setObservable",value:function(e){for(var t=e,r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return n.forEach(function(e){t=t.pipe((0,d.concatMap)(function(t){var r=e(t);return(0,y.default)(r)?r:(0,p.of)(r)}))}),this._push(t),this}},{key:"setDispatch",value:function(e,t){var r={};return Object.keys(e).forEach(function(n){var o=e[n];r[n]=function(){return t.dispatch(o.apply(void 0,arguments))}}),this._push((0,p.of)(r)),this}},{key:"get$",value:function(){var e=b.merge.apply(void 0,o(this._observables)).pipe((0,v.scan)(function(e,t){return s({},e,t)}));return e.defaultProps=this._defaults,e}}]),e}();e.exports=t.default},function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=o}])});
{
"name": "frint-component-utils",
"version": "5.4.0",
"version": "5.4.1",
"description": "Component utils package for Frint",

@@ -33,3 +33,3 @@ "main": "lib/index.js",

"cross-env": "^5.0.5",
"frint-config": "^5.4.0"
"frint-config": "^5.4.1"
},

@@ -36,0 +36,0 @@ "bugs": {

@@ -0,0 +0,0 @@ # frint-component-utils

@@ -0,0 +0,0 @@ var webpack = require('webpack');

Sorry, the diff of this file is not supported yet

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