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
19
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 1.0.0-alpha.17 to 1.0.0-alpha.18

2

index.d.ts
import { FirebaseConfig, IFirebaseOptions } from './common';
declare function serialize(data: any): any;
declare function serialize(data: any, wrapPrimitives?: boolean): any;

@@ -6,0 +6,0 @@ declare function deserialize(data: any): any;

{
"name": "@nativescript/firebase-core",
"version": "1.0.0-alpha.17",
"version": "1.0.0-alpha.18",
"description": "NativeScript Firebase - Core",

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

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

export declare function serialize(data: any): any;
export declare function serialize(data: any, wrapPrimitives?: boolean): any;
export declare function deserialize(data: any): any;

@@ -7,3 +7,3 @@ function numberHasDecimals(item) {

}
export function serialize(data) {
export function serialize(data, wrapPrimitives = false) {
if (global.isIOS) {

@@ -60,2 +60,8 @@ switch (typeof data) {

case 'boolean': {
if (wrapPrimitives) {
if (typeof data === 'string') {
return new java.lang.String(data);
}
return new java.lang.Boolean(data);
}
return data;

@@ -62,0 +68,0 @@ }

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