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

react-matrix-tree

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

react-matrix-tree - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

7

dist/cjs/components/App.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var react_1 = tslib_1.__importStar(require("react"));
var react_1 = tslib_1.__importDefault(require("react"));
var styled_components_1 = tslib_1.__importDefault(require("styled-components"));

@@ -21,7 +21,2 @@ var BottomArrow = styled_components_1.default.div(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n borderbottom: 5px solid ", ";\n"], ["\n borderbottom: 5px solid ", ";\n"])), function (props) { return props.color; });

var data = _a.data, isMobile = _a.isMobile, color = _a.color;
(0, react_1.useEffect)(function () {
if (!data) {
throw Error('Data field is undefined, need array value to render a Tree component');
}
}, [data]);
var GetTree = function (_a) {

@@ -28,0 +23,0 @@ var childrens = _a.childrens, level = _a.level, ismobileview = _a.ismobileview;

import { __makeTemplateObject } from "tslib";
import React, { useEffect } from 'react';
import React from 'react';
import styled from 'styled-components';

@@ -19,7 +19,2 @@ var BottomArrow = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n borderbottom: 5px solid ", ";\n"], ["\n borderbottom: 5px solid ", ";\n"])), function (props) { return props.color; });

var data = _a.data, isMobile = _a.isMobile, color = _a.color;
useEffect(function () {
if (!data) {
throw Error('Data field is undefined, need array value to render a Tree component');
}
}, [data]);
var GetTree = function (_a) {

@@ -26,0 +21,0 @@ var childrens = _a.childrens, level = _a.level, ismobileview = _a.ismobileview;

2

package.json
{
"name": "react-matrix-tree",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

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