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

karet

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karet - npm Package Compare versions

Comparing version 3.1.0-1 to 3.1.0-2

2

dist/karet.cjs.js

@@ -262,3 +262,3 @@ 'use strict';

return React.forwardRef(function (props, ref) {
return considerLifting([type, null != ref ? props : I.assocPartialU('ref', ref, props)]);
return considerLifting([type, null == ref ? props : I.assocPartialU('ref', ref, props)]);
});

@@ -265,0 +265,0 @@ };

@@ -259,3 +259,3 @@ import { isArray, inherit, object0, isString, dissocPartialU, assocPartialU } from 'infestines';

return forwardRef(function (props, ref) {
return considerLifting([type, null != ref ? props : assocPartialU('ref', ref, props)]);
return considerLifting([type, null == ref ? props : assocPartialU('ref', ref, props)]);
});

@@ -262,0 +262,0 @@ };

@@ -260,3 +260,3 @@ (function (global, factory) {

return React.forwardRef(function (props, ref) {
return considerLifting([type, null != ref ? props : I.assocPartialU('ref', ref, props)]);
return considerLifting([type, null == ref ? props : I.assocPartialU('ref', ref, props)]);
});

@@ -263,0 +263,0 @@ };

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

!function(r,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("infestines"),require("react"),require("kefir")):"function"==typeof define&&define.amd?define(["exports","infestines","react","kefir"],n):n(r.karet={},r.I,r.React,r.Kefir)}(this,function(r,n,e,t){"use strict";function i(r){var n=r._currentEvent;if(n)return n.value}function f(r){for(var e=r,t=0,a=r.length;t<a;++t){var o=r[t],u=k(o)?i(o):n.isArray(o)?f(o):o;o!==u&&(e===r&&(e=r.slice(0)),e[t]=u)}return e}function a(r){var n=null;for(var e in r){var t=r[e];if(k(t)){if(!n)for(var f in n={},r){if(f===e)break;n[f]=r[f]}n[e]=i(t)}else n&&(n[e]=t)}return n||r}function o(r,e,t,i){for(var f=e.length;r<f;++r){var a=e[r];k(a)?i(t,a):n.isArray(a)&&o(0,a,t,i)}}function u(r,e,t){for(var i in r){var f=r[i];if(k(f))t(e,f);else if(A===i)n.isArray(f)&&o(0,f,e,t);else if(m===i||g===i)for(var a in f){var u=f[a];k(u)&&t(e,u)}}}function l(r,n){n.offAny(r)}function s(r,n){n.onAny(r)}function c(r,n){function e(n){var e=n.type;if(e===y)r.forceUpdate();else if(e===d)throw n.value}var t=n.args;r.h=null,u(t[1],e,s),o(2,t,e,s),r.h=e}function v(r,n){var e=n.args,t=r.h;r.h=null,t&&(o(2,e,t,l),u(e[1],t,l))}function p(r,e){for(var t=e.length;r<t;++r){var i=e[r];if(k(i)||n.isArray(i)&&p(0,i))return!0}return!1}function h(r){var t=r[1];if(function(r){for(var e in r){var t=r[e];if(k(t))return!0;if(A===e){if(n.isArray(t)&&p(0,t))return!0}else if(m===e||g===e)for(var i in t)if(k(t[i]))return!0}return!1}(t)||p(2,r)){var i={args:r};if(t){var f=t.key;null!=f&&(i.key=f)}return e.createElement(U,i)}return e.createElement.apply(null,r)}var y="value",d="error",m="style",g="dangerouslySetInnerHTML",A="children",k=function(r){return r instanceof t.Property},E="undefined"==typeof window&&{h:null,forceUpdate:function(){}},U=n.inherit(function(r){e.Component.call(this,r),this.h=null,E&&(this.state=n.object0)},e.Component,{componentDidMount:function(){c(this,this.props)},componentDidUpdate:function(r){var n=this.props;n!==r&&(v(this,r),c(this,n))},componentWillUnmount:function(){v(this,this.props)},render:function(){if(this.h||E){var r=this.props.args,t=r.length,o=Array(t);o[0]=r[0],o[1]=function(r){var e=null;for(var t in r){var o=r[t],u=k(o)?i(o):A===t?n.isArray(o)?f(o):o:m===t||g===t?a(o):o;if(o!==u){if(!e)for(var l in e={},r){if(l===t)break;e[l]=r[l]}e[t]=u}else e&&(e[t]=u)}return e||r}(r[1]);for(var u=2;u<t;++u){var l=r[u];o[u]=k(l)?i(l):n.isArray(l)?f(l):l}return e.createElement.apply(null,o)}return null}},E&&{getDerivedStateFromProps:function(r){return c(E,r),v(E,r),null}});r.Fragment=e.Fragment,r.createElement=function(r,t,i){var f=t&&t["karet-lift"];if(f||n.isString(r)||e.Fragment===r){var a=arguments.length,o=Array(a);o[0]=r,o[1]=f?n.dissocPartialU("karet-lift",t):t;for(var u=2;u<a;++u)o[u]=arguments[u];return h(o)}return e.createElement.apply(null,arguments)},r.fromClass=function(r){return e.forwardRef(function(e,t){return h([r,null!=t?e:n.assocPartialU("ref",t,e)])})},Object.defineProperty(r,"__esModule",{value:!0})});
!function(r,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("infestines"),require("react"),require("kefir")):"function"==typeof define&&define.amd?define(["exports","infestines","react","kefir"],n):n(r.karet={},r.I,r.React,r.Kefir)}(this,function(r,n,e,t){"use strict";function i(r){var n=r._currentEvent;if(n)return n.value}function f(r){for(var e=r,t=0,a=r.length;t<a;++t){var o=r[t],u=k(o)?i(o):n.isArray(o)?f(o):o;o!==u&&(e===r&&(e=r.slice(0)),e[t]=u)}return e}function a(r){var n=null;for(var e in r){var t=r[e];if(k(t)){if(!n)for(var f in n={},r){if(f===e)break;n[f]=r[f]}n[e]=i(t)}else n&&(n[e]=t)}return n||r}function o(r,e,t,i){for(var f=e.length;r<f;++r){var a=e[r];k(a)?i(t,a):n.isArray(a)&&o(0,a,t,i)}}function u(r,e,t){for(var i in r){var f=r[i];if(k(f))t(e,f);else if(A===i)n.isArray(f)&&o(0,f,e,t);else if(m===i||g===i)for(var a in f){var u=f[a];k(u)&&t(e,u)}}}function l(r,n){n.offAny(r)}function s(r,n){n.onAny(r)}function c(r,n){function e(n){var e=n.type;if(e===y)r.forceUpdate();else if(e===d)throw n.value}var t=n.args;r.h=null,u(t[1],e,s),o(2,t,e,s),r.h=e}function v(r,n){var e=n.args,t=r.h;r.h=null,t&&(o(2,e,t,l),u(e[1],t,l))}function p(r,e){for(var t=e.length;r<t;++r){var i=e[r];if(k(i)||n.isArray(i)&&p(0,i))return!0}return!1}function h(r){var t=r[1];if(function(r){for(var e in r){var t=r[e];if(k(t))return!0;if(A===e){if(n.isArray(t)&&p(0,t))return!0}else if(m===e||g===e)for(var i in t)if(k(t[i]))return!0}return!1}(t)||p(2,r)){var i={args:r};if(t){var f=t.key;null!=f&&(i.key=f)}return e.createElement(U,i)}return e.createElement.apply(null,r)}var y="value",d="error",m="style",g="dangerouslySetInnerHTML",A="children",k=function(r){return r instanceof t.Property},E="undefined"==typeof window&&{h:null,forceUpdate:function(){}},U=n.inherit(function(r){e.Component.call(this,r),this.h=null,E&&(this.state=n.object0)},e.Component,{componentDidMount:function(){c(this,this.props)},componentDidUpdate:function(r){var n=this.props;n!==r&&(v(this,r),c(this,n))},componentWillUnmount:function(){v(this,this.props)},render:function(){if(this.h||E){var r=this.props.args,t=r.length,o=Array(t);o[0]=r[0],o[1]=function(r){var e=null;for(var t in r){var o=r[t],u=k(o)?i(o):A===t?n.isArray(o)?f(o):o:m===t||g===t?a(o):o;if(o!==u){if(!e)for(var l in e={},r){if(l===t)break;e[l]=r[l]}e[t]=u}else e&&(e[t]=u)}return e||r}(r[1]);for(var u=2;u<t;++u){var l=r[u];o[u]=k(l)?i(l):n.isArray(l)?f(l):l}return e.createElement.apply(null,o)}return null}},E&&{getDerivedStateFromProps:function(r){return c(E,r),v(E,r),null}});r.Fragment=e.Fragment,r.createElement=function(r,t,i){var f=t&&t["karet-lift"];if(f||n.isString(r)||e.Fragment===r){var a=arguments.length,o=Array(a);o[0]=r,o[1]=f?n.dissocPartialU("karet-lift",t):t;for(var u=2;u<a;++u)o[u]=arguments[u];return h(o)}return e.createElement.apply(null,arguments)},r.fromClass=function(r){return e.forwardRef(function(e,t){return h([r,null==t?e:n.assocPartialU("ref",t,e)])})},Object.defineProperty(r,"__esModule",{value:!0})});
{
"name": "karet",
"version": "3.1.0-1",
"version": "3.1.0-2",
"description": "Karet is a library that allows you to embed Kefir properties into React VDOM",

@@ -5,0 +5,0 @@ "module": "dist/karet.es.js",

@@ -261,3 +261,3 @@ import * as I from 'infestines'

type,
null != ref ? props : I.assocPartialU('ref', ref, props)
null == ref ? props : I.assocPartialU('ref', ref, props)
])

@@ -264,0 +264,0 @@ )

Sorry, the diff of this file is not supported yet

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