New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nativescript/firebase-core

Package Overview
Dependencies
Maintainers
18
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript/firebase-core - npm Package Compare versions

Comparing version 2.4.4 to 2.5.0

2

package.json
{
"name": "@nativescript/firebase-core",
"version": "2.4.4",
"version": "2.5.0",
"description": "NativeScript Firebase - Core",

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

@@ -34,9 +34,7 @@ function numberHasDecimals(item) {

if (Array.isArray(data)) {
return NSArray.arrayWithArray(data.map(serialize));
return NSArray.arrayWithArray(data.map((el) => serialize(el, wrapPrimitives)).filter((el) => el !== null));
}
let node = {};
Object.keys(data).forEach(function (key) {
let value = data[key];
node[key] = serialize(value, wrapPrimitives);
});
const node = Object.fromEntries(Object.entries(data)
.map(([key, value]) => [key, serialize(value, wrapPrimitives)])
.filter(([, value]) => value !== null));
return NSDictionary.dictionaryWithDictionary(node);

@@ -43,0 +41,0 @@ }

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