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

@aerogear/core

Package Overview
Dependencies
Maintainers
9
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aerogear/core - npm Package Compare versions

Comparing version 2.6.4-dev.1017.f64036e.0 to 2.6.4-dev.1031.2daa588.0

4

dist/PlatformUtils.js

@@ -20,4 +20,4 @@ "use strict";

exports.isNative = function () { return exports.isMobileCordova(); };
exports.isCordovaAndroid = function () { return (window.device.platform === "Android"); };
exports.isCordovaIOS = function () { return (window.device.platform === "iOS"); };
exports.isCordovaAndroid = function () { return (window.device && window.device.platform === "Android"); };
exports.isCordovaIOS = function () { return (window.device && window.device.platform === "iOS"); };
//# sourceMappingURL=PlatformUtils.js.map
{
"name": "@aerogear/core",
"version": "2.6.4-dev.1017.f64036e.0",
"version": "2.6.4-dev.1031.2daa588.0",
"description": "JavaScript Core SDK for AeroGear services",

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

@@ -26,7 +26,7 @@ declare var window: any;

export const isCordovaAndroid = () => (
window.device.platform === "Android"
window.device && window.device.platform === "Android"
);
export const isCordovaIOS = () => (
window.device.platform === "iOS"
window.device && window.device.platform === "iOS"
);

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