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.1.1 to 0.1.2

8

es/index.js

@@ -102,6 +102,8 @@ function _extends() { _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; }; return _extends.apply(this, arguments); }

defaultTransform: function defaultTransform(value) {
return value ? value : '-';
if (value === void 0) {
value = '-';
}
return value;
},
/* "||" breaks api-docs formatting! */
title: null

@@ -108,0 +110,0 @@ };

@@ -114,6 +114,8 @@ "use strict";

defaultTransform: function defaultTransform(value) {
return value ? value : '-';
if (value === void 0) {
value = '-';
}
return value;
},
/* "||" breaks api-docs formatting! */
title: null

@@ -120,0 +122,0 @@ };

{
"name": "@govuk-frederic/array-object-table",
"version": "0.1.1",
"version": "0.1.2",
"dependencies": {
"@govuk-frederic/table": "^0.1.1",
"@govuk-frederic/utils": "^0.1.0"
"@govuk-frederic/utils": "^0.1.2"
},

@@ -8,0 +8,0 @@ "devDependencies": {

@@ -79,3 +79,3 @@ ArrayObjectTable

`array` | true | `````` | arrayOf[object Object] |
`defaultTransform` | | ```value => (value ? value : '-')``` | func |
`defaultTransform` | | ```(value = '-') => value``` | func |
`fields` | true | `````` | arrayOf[object Object] |

@@ -82,0 +82,0 @@ `hideWithNoValues` | | ```false``` | bool |

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

skipEmptyRows: false,
defaultTransform: value => (value ? value : '-'), /* "||" breaks api-docs formatting! */
defaultTransform: (value = '-') => value,
title: null,

@@ -115,0 +115,0 @@ };

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