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

@cord-sdk/components

Package Overview
Dependencies
Maintainers
15
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cord-sdk/components - npm Package Compare versions

Comparing version 1.27.2 to 1.28.0

10

dist/cjs/index.js

@@ -241,4 +241,4 @@ 'use strict';

number: (value) => (value ? parseInt(value) : undefined),
string: (value) => value !== null && value !== void 0 ? value : undefined,
array: (value) => value === null || value === void 0 ? void 0 : value.split(',').filter((x) => x.length > 0),
string: (value) => value ?? undefined,
array: (value) => value?.split(',').filter((x) => x.length > 0),
'badge-style': enumAttributeConverter([

@@ -258,6 +258,6 @@ 'none',

json: (value) => value !== undefined ? JSON.stringify(value) : undefined,
boolean: (value) => value === null || value === void 0 ? void 0 : value.toString(),
number: (value) => value === null || value === void 0 ? void 0 : value.toString(),
boolean: (value) => value?.toString(),
number: (value) => value?.toString(),
string: (value) => (value === undefined ? undefined : value || ''),
array: (value) => value === null || value === void 0 ? void 0 : value.join(','),
array: (value) => value?.join(','),
'badge-style': (value) => (value === undefined ? undefined : value || ''),

@@ -264,0 +264,0 @@ orientation: (value) => (value === undefined ? undefined : value || ''),

@@ -237,4 +237,4 @@ const componentNames = {

number: (value) => (value ? parseInt(value) : undefined),
string: (value) => value !== null && value !== void 0 ? value : undefined,
array: (value) => value === null || value === void 0 ? void 0 : value.split(',').filter((x) => x.length > 0),
string: (value) => value ?? undefined,
array: (value) => value?.split(',').filter((x) => x.length > 0),
'badge-style': enumAttributeConverter([

@@ -254,6 +254,6 @@ 'none',

json: (value) => value !== undefined ? JSON.stringify(value) : undefined,
boolean: (value) => value === null || value === void 0 ? void 0 : value.toString(),
number: (value) => value === null || value === void 0 ? void 0 : value.toString(),
boolean: (value) => value?.toString(),
number: (value) => value?.toString(),
string: (value) => (value === undefined ? undefined : value || ''),
array: (value) => value === null || value === void 0 ? void 0 : value.join(','),
array: (value) => value?.join(','),
'badge-style': (value) => (value === undefined ? undefined : value || ''),

@@ -260,0 +260,0 @@ orientation: (value) => (value === undefined ? undefined : value || ''),

{
"name": "@cord-sdk/components",
"description": "Structured information about the Cord web components",
"version": "1.27.2",
"version": "1.28.0",
"homepage": "https://docs.cord.com/",

@@ -22,3 +22,3 @@ "license": "MIT",

"dependencies": {
"@cord-sdk/types": "1.27.2"
"@cord-sdk/types": "1.28.0"
},

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

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