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

mag-app

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mag-app - npm Package Compare versions

Comparing version 3.2.1 to 3.3.0

21

lib/main.js

@@ -11,5 +11,8 @@ /**

var app = require('spa-app/lib/core'),
events = require('spa-app/lib/events');
events = require('spa-app/lib/events'),
keys = require('stb-keys'),
originalKeydownHandler = events.keydown;
// get instance

@@ -53,2 +56,18 @@ window.core = window.parent.getCoreInstance(window, app);

if ( TARGET === 'android-stb' || TARGET === 'android-app' ) {
keys.play = 'MediaPlay';
keys.pause = 'MediaPause';
events.keydown = function ( event ) {
if ( event.key === keys.play ) {
event = {keyCode: keys.play, type: 'keydown'};
} else if ( event.key === keys.pause ) {
event = {keyCode: keys.pause, type: 'keydown'};
}
originalKeydownHandler(event);
};
}
/**

@@ -55,0 +74,0 @@ * Show app.

2

package.json
{
"name": "mag-app",
"version": "3.2.1",
"version": "3.3.0",
"description": "MAG SDK application core.",

@@ -5,0 +5,0 @@ "author": {

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