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

@croudtech/vue-connect-ui

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@croudtech/vue-connect-ui - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

2

package.json
{
"name": "@croudtech/vue-connect-ui",
"version": "0.7.0",
"version": "0.8.0",
"description": "Vue plugin providing a suite of Croud UI components",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/CroudTech/connect-vue-ui-kit#readme",

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

import { arrayReduce } from 'fast-loops'
import {

@@ -21,2 +22,7 @@ mergeData as mergeFunctionalData

export const compact = (array) => arrayReduce(array, (result, value) => {
if (value) result.push(value)
return result
}, [])
export const validate = contains

@@ -23,0 +29,0 @@

@@ -16,2 +16,10 @@ import * as _ from './utils'

test('compact(array)', () => {
expect(_.compact([ 'a' ])).toEqual([ 'a' ])
expect(_.compact([ 'a', '' ])).toEqual([ 'a' ])
expect(_.compact([ 'a', null ])).toEqual([ 'a' ])
expect(_.compact([ 'a', false ])).toEqual([ 'a' ])
expect(_.compact([ 'a', undefined ])).toEqual([ 'a' ]) // eslint-disable-line
})
test('validate(values)', () => {

@@ -18,0 +26,0 @@ const validator = _.validate([ 1, 2 ])

Sorry, the diff of this file is too big to display

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