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

njsx

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

njsx - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

package.json
{
"name": "njsx",
"version": "2.0.1",
"version": "2.0.2",
"description": "No-JSX: A customizable interface for creating React and React-Native components without JSX syntax.",

@@ -5,0 +5,0 @@ "repository": "uqbar-project/njsx",

@@ -29,3 +29,3 @@ Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}exports.default={

NJSX_COMPONENT_AS_CHILD:{
appliesTo:function appliesTo(arg){return arg.isNJSXComponent;},
appliesTo:function appliesTo(arg){return typeof arg==='object'&&arg.isNJSXComponent;},
apply:function apply(arg,_ref6){var props=_ref6.props,children=_ref6.children;return{props:props,children:[].concat(_toConsumableArray(children),[arg()])};}},

@@ -32,0 +32,0 @@

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