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

babel-runtime-jsx-plus

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-runtime-jsx-plus - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

dist/babel-runtime-jsx-plus.umd.js

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

!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e=e||self)["babel-runtime-jsx-plus"]={})}(this,function(e){"use strict";var t={};var f=Array.isArray;var a=Object.prototype.toString;var l={}.hasOwnProperty;e.$slot=function(e){var r=e.$slots,t=e.name,n=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,["$slots","name"]),o=r[t];return"function"==typeof o?o(n):null},e.classnames=function e(){for(var r=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"==o||"number"==o)r.push(n);else if(Array.isArray(n)&&n.length){var i=e.apply(null,n);i&&r.push(i)}else if("object"==o)for(var f in n)l.call(n,f)&&n[f]&&r.push(f)}}return r.join(" ")},e.createCondition=function(e){if(f(e))for(var r=0,t=e.length;r<t;r++){var n=e[r],o=n[0],i=n[1];if(o())return i()}return null},e.createJSXMemo=function(e,r){return t.hasOwnProperty(r)?t[r]:t[r]=e},e.createList=function(e,r){var t,n,o,i,f;if(Array.isArray(e)||"string"==typeof e)for(t=new Array(e.length),n=0,o=e.length;n<o;n++)t[n]=r.call(this,e[n],n);else if("number"==typeof e)for(t=new Array(e),n=0;n<e;n++)t[n]=r.call(this,n+1,n);else if(function(e){return"[object Object]"===a.call(e)}(e))for(i=Object.keys(e),t=new Array(i.length),n=0,o=i.length;n<o;n++)f=i[n],t[n]=r.call(this,e[f],f,n);return t},Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e=e||self)["babel-runtime-jsx-plus"]={})}(this,function(e){"use strict";var t={};var f=Array.isArray;var a=Object.prototype.toString;var l={}.hasOwnProperty;e.$slot=function(e){var r=e.$slots,t=e.name,n=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,["$slots","name"]),o=r[t];return"function"==typeof o?o(n):null},e.classnames=function e(){for(var r=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"==o||"number"==o)r.push(n);else if(Array.isArray(n)&&n.length){var i=e.apply(null,n);i&&r.push(i)}else if("object"==o)for(var f in n)l.call(n,f)&&n[f]&&r.push(f)}}return r.join(" ")},e.createCondition=function(e){if(f(e))for(var r=0,t=e.length;r<t;r++){var n=e[r],o=n[0],i=n[1];if(o())return i()}return null},e.createJSXMemo=function(e,r){return t.hasOwnProperty(r)?t[r]:t[r]="function"==typeof e?e():e},e.createList=function(e,r){var t,n,o,i,f;if(Array.isArray(e)||"string"==typeof e)for(t=new Array(e.length),n=0,o=e.length;n<o;n++)t[n]=r.call(this,e[n],n);else if("number"==typeof e)for(t=new Array(e),n=0;n<e;n++)t[n]=r.call(this,n+1,n);else if(function(e){return"[object Object]"===a.call(e)}(e))for(i=Object.keys(e),t=new Array(i.length),n=0,o=i.length;n<o;n++)f=i[n],t[n]=r.call(this,e[f],f,n);return t},Object.defineProperty(e,"__esModule",{value:!0})});
{
"name": "babel-runtime-jsx-plus",
"version": "0.1.3",
"version": "0.1.4",
"description": "Babel runtime support for jsx plus.",

@@ -5,0 +5,0 @@ "main": "dist/babel-runtime-jsx-plus.umd.js",

@@ -9,3 +9,3 @@ const sharedElements = {};

? sharedElements[uid]
: sharedElements[uid] = el;
: sharedElements[uid] = typeof el === 'function' ? el() : el;
}
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