Socket
Socket
Sign inDemoInstall

@pixi/settings

Package Overview
Dependencies
Maintainers
3
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/settings - npm Package Compare versions

Comparing version 5.0.0-rc.2 to 5.0.0-rc.3

dist/settings.js

17

lib/settings.es.js
/*!
* @pixi/settings - v5.0.0-rc.2
* Compiled Mon, 18 Feb 2019 23:45:28 UTC
* @pixi/settings - v5.0.0-rc.3
* Compiled Fri, 22 Mar 2019 16:33:44 UTC
*

@@ -8,3 +8,4 @@ * @pixi/settings is licensed under the MIT License.

*/
import Device from 'ismobilejs';
import isMobile from 'ismobilejs';
export { default as isMobile } from 'ismobilejs';

@@ -28,7 +29,7 @@ /**

if (Device.tablet || Device.phone)
if (isMobile.tablet || isMobile.phone)
{
allowMax = false;
if (Device.apple.device)
if (isMobile.apple.device)
{

@@ -48,3 +49,3 @@ var match = (navigator.userAgent).match(/OS (\d+)_(\d+)?/);

}
if (Device.android.device)
if (isMobile.android.device)
{

@@ -79,3 +80,3 @@ var match$1 = (navigator.userAgent).match(/Android\s([0-9.]*)/);

{
return !Device.apple.device;
return !isMobile.apple.device;
}

@@ -268,3 +269,3 @@

*/
PRECISION_FRAGMENT: Device.apple.device ? 'highp' : 'mediump',
PRECISION_FRAGMENT: isMobile.apple.device ? 'highp' : 'mediump',

@@ -271,0 +272,0 @@ /**

/*!
* @pixi/settings - v5.0.0-rc.2
* Compiled Mon, 18 Feb 2019 23:45:28 UTC
* @pixi/settings - v5.0.0-rc.3
* Compiled Fri, 22 Mar 2019 16:33:44 UTC
*

@@ -14,3 +14,3 @@ * @pixi/settings is licensed under the MIT License.

var Device = _interopDefault(require('ismobilejs'));
var isMobile = _interopDefault(require('ismobilejs'));

@@ -34,7 +34,7 @@ /**

if (Device.tablet || Device.phone)
if (isMobile.tablet || isMobile.phone)
{
allowMax = false;
if (Device.apple.device)
if (isMobile.apple.device)
{

@@ -54,3 +54,3 @@ var match = (navigator.userAgent).match(/OS (\d+)_(\d+)?/);

}
if (Device.android.device)
if (isMobile.android.device)
{

@@ -85,3 +85,3 @@ var match$1 = (navigator.userAgent).match(/Android\s([0-9.]*)/);

{
return !Device.apple.device;
return !isMobile.apple.device;
}

@@ -274,3 +274,3 @@

*/
PRECISION_FRAGMENT: Device.apple.device ? 'highp' : 'mediump',
PRECISION_FRAGMENT: isMobile.apple.device ? 'highp' : 'mediump',

@@ -312,3 +312,4 @@ /**

exports.isMobile = isMobile;
exports.settings = settings;
//# sourceMappingURL=settings.js.map
{
"name": "@pixi/settings",
"version": "5.0.0-rc.2",
"version": "5.0.0-rc.3",
"main": "lib/settings.js",
"module": "lib/settings.es.js",
"bundle": "dist/settings.js",
"description": "Collecting of user configurable settings used throughout PixiJS",

@@ -25,3 +26,4 @@ "author": "Mat Groves",

"files": [
"lib"
"lib",
"dist"
],

@@ -32,5 +34,5 @@ "dependencies": {

"devDependencies": {
"floss": "^2.1.5"
"floss": "^2.2.0"
},
"gitHead": "53b354f4e01d3baee7223756dd09a3163ad29d0f"
"gitHead": "8bd27c8b903ae2c8f90d91d64e82d65b19ac1cdb"
}

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