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

@ionic-native/screen-orientation

Package Overview
Dependencies
Maintainers
2
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/screen-orientation - npm Package Compare versions

Comparing version 3.1.0-alpha.3 to 3.1.0-rc.1

README.md

7

index.d.ts

@@ -39,6 +39,5 @@ /**

* See below for accepted values
* @param orientation {string} The orientation which should be locked. Accepted values see table below.
* @returns {Promise<any>} returns a promise that resolves when the screen orientation is locked, and rejects when an error occurs.
* @param orientation {string} The orientation which should be locked. Accepted values see table above.
*/
lockOrientation(orientation: string): Promise<string>;
lockOrientation(orientation: string): void;
/**

@@ -51,3 +50,3 @@ * Unlock and allow all orientations.

*/
static orientation: string;
orientation: string;
}

@@ -52,6 +52,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

* See below for accepted values
* @param orientation {string} The orientation which should be locked. Accepted values see table below.
* @returns {Promise<any>} returns a promise that resolves when the screen orientation is locked, and rejects when an error occurs.
* @param orientation {string} The orientation which should be locked. Accepted values see table above.
*/
ScreenOrientation.prototype.lockOrientation = function (orientation) { return; };
ScreenOrientation.prototype.lockOrientation = function (orientation) { };
/**

@@ -67,6 +66,6 @@ * Unlock and allow all orientations.

__decorate([
Cordova({ otherPromise: true }),
Cordova({ sync: true }),
__metadata('design:type', Function),
__metadata('design:paramtypes', [String]),
__metadata('design:returntype', Promise)
__metadata('design:returntype', void 0)
], ScreenOrientation.prototype, "lockOrientation", null);

@@ -82,3 +81,3 @@ __decorate([

__metadata('design:type', String)
], ScreenOrientation, "orientation", void 0);
], ScreenOrientation.prototype, "orientation", void 0);
ScreenOrientation = __decorate([

@@ -85,0 +84,0 @@ Plugin({

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

{"__symbolic":"module","version":1,"metadata":{"ScreenOrientation":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"ScreenOrientation","plugin":"cordova-plugin-screen-orientation","pluginRef":"window.screen","repo":"https://github.com/apache/cordova-plugin-screen-orientation","platforms":["Android","iOS","Windows Phone 8"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"lockOrientation":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"otherPromise":true}]}]}],"unlockOrientation":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"orientation":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty"}]}]},"statics":{"orientation":{"__symbolic":"error","message":"Variable not initialized","line":68,"character":9}}}}}
{"__symbolic":"module","version":1,"metadata":{"ScreenOrientation":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"ScreenOrientation","plugin":"cordova-plugin-screen-orientation","pluginRef":"window.screen","repo":"https://github.com/apache/cordova-plugin-screen-orientation","platforms":["Android","iOS","Windows Phone 8"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"lockOrientation":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"unlockOrientation":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"orientation":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty"}]}]}}}}
{
"name": "@ionic-native/screen-orientation",
"version": "3.1.0-alpha.3",
"version": "3.1.0-rc.1",
"description": "Ionic Native - Native plugins for ionic apps",

@@ -10,3 +10,3 @@ "module": "index.js",

"peerDependencies": {
"@ionic-native/core": "3.1.0-alpha.3",
"@ionic-native/core": "3.1.0-rc.1",
"@angular/core": "2.2.1",

@@ -13,0 +13,0 @@ "rxjs": "5.0.0-beta.12"

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