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

cordova-plugin-screen

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-screen - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json
{
"name": "cordova-plugin-screen",
"version": "0.0.4",
"version": "0.0.5",
"description": "",

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

@@ -24,10 +24,2 @@ var exec = require('cordova/exec');

exports.setOrientation = function(orientation, success, error) {
error = error || this.error;
orientationMask = window.OrientationLockType[orientation];
exec(success, error, "ScreenOrientation", "setOrientation", [orientationMask, orientation]);
};
exports.orientation = getOrientation();
var getOrientation = function () {

@@ -55,4 +47,13 @@ var type = 'portrait-primary';

var error = function () {
var errorFun = function () {
return false;
};
exports.setOrientation = function(orientation, success, error) {
error = error || errorFun;
orientationMask = window.OrientationLockType[orientation];
exec(success, error, "ScreenOrientation", "setOrientation", [orientationMask, orientation]);
};
exports.orientation = getOrientation();
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