Socket
Socket
Sign inDemoInstall

celia

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

celia - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

lib/type.js

@@ -77,3 +77,3 @@ 'use strict';

const length = value.length;
return isArray(value) || length === 0 || isNumber(length) && length > 0 && (length - 1) in value;
return isArray(value) || length === 0 || (+length > 0 && (length - 1) in value);
}

@@ -80,0 +80,0 @@

{
"name": "celia",
"version": "1.0.3",
"version": "1.0.4",
"description": "A modern JavaScript utility library delivering modularity, performance, & extras.",

@@ -5,0 +5,0 @@ "main": "index.js",

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