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

@felte/common

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@felte/common - npm Package Compare versions

Comparing version 1.0.0-next.17 to 1.0.0-next.18

8

dist/cjs/index.js

@@ -236,3 +236,9 @@ 'use strict';

function deepSome(obj, pred) {
return _some(obj, (value) => _isPlainObject(value) ? deepSome(value, pred) : pred(value));
return _some(obj, (value) => _isPlainObject(value)
? deepSome(value, pred)
: Array.isArray(value)
? value.length === 0 || value.every((v) => typeof v === 'string')
? pred(value)
: value.some((v) => _isPlainObject(v) ? deepSome(v, pred) : pred(v))
: pred(value));
}

@@ -239,0 +245,0 @@

@@ -8,3 +8,9 @@ import { _some } from './some.js';

function deepSome(obj, pred) {
return _some(obj, (value) => _isPlainObject(value) ? deepSome(value, pred) : pred(value));
return _some(obj, (value) => _isPlainObject(value)
? deepSome(value, pred)
: Array.isArray(value)
? value.length === 0 || value.every((v) => typeof v === 'string')
? pred(value)
: value.some((v) => _isPlainObject(v) ? deepSome(v, pred) : pred(v))
: pred(value));
}

@@ -11,0 +17,0 @@

2

package.json
{
"name": "@felte/common",
"version": "1.0.0-next.17",
"version": "1.0.0-next.18",
"description": "Common utilities for Felte packages",

@@ -5,0 +5,0 @@ "author": "Pablo Berganza <pablo@berganza.dev>",

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