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

react-inline-logic

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-inline-logic - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

4

lib/index.js

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

import React from 'react'
import React, { Fragment } from 'react'

@@ -11,3 +11,3 @@ const If = ({condition, children})=>(

const For = ({list=[], onLoop=(item, index)=>(<div key={index}>{index}</div>), onLoopComplete=()=>{}, onLoopBreakIf=()=>false, onLoopContinueIf=()=>false})=>{
const For = ({list=[], onLoop=(item, index)=>{}, onLoopComplete=()=>{}, onLoopBreakIf=()=>false, onLoopContinueIf=()=>false})=>{
let r=[], index=-1, hasLoop=false;

@@ -14,0 +14,0 @@ for(let i of list){

{
"name": "react-inline-logic",
"version": "0.0.11",
"version": "0.0.12",
"description": "This component encapsulates some opperations as if, while and for to be used as one Tag inside JSX to compose some logical expression inline.",

@@ -31,9 +31,9 @@ "main": "./lib/index.js",

"devDependencies": {
"jest-cli": "23.2.0",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-scripts": "1.1.1",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"jest-cli": "23.2.0",
"jest-enzyme": "6.0.1",
"react": "16.2.0",
"react-dom": "^16.13.0",
"react-scripts": "1.1.1"
"jest-enzyme": "6.0.1"
},

@@ -40,0 +40,0 @@ "jest": {

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