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

@govuk-frederic/array-object-table

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-frederic/array-object-table - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

package.json
{
"name": "@govuk-frederic/array-object-table",
"version": "0.0.4",
"version": "0.0.5",
"dependencies": {
"@govuk-frederic/table": "^0.0.4",
"@govuk-frederic/table": "^0.0.5",
"@govuk-frederic/utils": "^0.0.4"

@@ -7,0 +7,0 @@ },

@@ -57,3 +57,3 @@ import React, { Fragment } from 'react';

* */
const ArrayObjectTable = ({ fields = [], array = [], hideWithNoValues = false, skipEmptyRows = false, title, ...props }) => {
const ArrayObjectTable = ({ fields, array, hideWithNoValues, skipEmptyRows, title, ...props }) => {
let rows = rowsFromArray(array, fields, skipEmptyRows);

@@ -65,3 +65,3 @@ if (!rows.length && !hideWithNoValues) {

<Fragment>
{title ? title : null}
{title}
<Table rows={rows} titles={titlesFromFields(fields)} {...props}/>

@@ -85,2 +85,10 @@ </Fragment>

ArrayObjectTable.defaultProps = {
fields: [],
array: [],
hideWithNoValues: false,
skipEmptyRows: false,
title: null,
};
export default ArrayObjectTable;
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