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

@ionic-native/device

Package Overview
Dependencies
Maintainers
6
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/device - npm Package Compare versions

Comparing version 5.18.1-beta.2 to 5.18.1-beta.3

index.metadata.json

4

index.d.ts

@@ -18,3 +18,3 @@ import { IonicNativePlugin } from '@ionic-native/core';

*/
export declare class DeviceOriginal extends IonicNativePlugin {
export declare class Device extends IonicNativePlugin {
/** Get the version of Cordova running on the device. */

@@ -40,3 +40,1 @@ cordova: string;

}
export declare const Device: DeviceOriginal;

@@ -1,21 +0,10 @@

var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { IonicNativePlugin, cordovaPropertyGet, cordovaPropertySet } from '@ionic-native/core';
var DeviceOriginal = /** @class */ (function (_super) {
__extends(DeviceOriginal, _super);
function DeviceOriginal() {
var Device = /** @class */ (function (_super) {
tslib_1.__extends(Device, _super);
function Device() {
return _super !== null && _super.apply(this, arguments) || this;
}
Object.defineProperty(DeviceOriginal.prototype, "cordova", {
Object.defineProperty(Device.prototype, "cordova", {
get: function () { return cordovaPropertyGet(this, "cordova"); },

@@ -26,3 +15,3 @@ set: function (value) { cordovaPropertySet(this, "cordova", value); },

});
Object.defineProperty(DeviceOriginal.prototype, "model", {
Object.defineProperty(Device.prototype, "model", {
get: function () { return cordovaPropertyGet(this, "model"); },

@@ -33,3 +22,3 @@ set: function (value) { cordovaPropertySet(this, "model", value); },

});
Object.defineProperty(DeviceOriginal.prototype, "platform", {
Object.defineProperty(Device.prototype, "platform", {
get: function () { return cordovaPropertyGet(this, "platform"); },

@@ -40,3 +29,3 @@ set: function (value) { cordovaPropertySet(this, "platform", value); },

});
Object.defineProperty(DeviceOriginal.prototype, "uuid", {
Object.defineProperty(Device.prototype, "uuid", {
get: function () { return cordovaPropertyGet(this, "uuid"); },

@@ -47,3 +36,3 @@ set: function (value) { cordovaPropertySet(this, "uuid", value); },

});
Object.defineProperty(DeviceOriginal.prototype, "version", {
Object.defineProperty(Device.prototype, "version", {
get: function () { return cordovaPropertyGet(this, "version"); },

@@ -54,3 +43,3 @@ set: function (value) { cordovaPropertySet(this, "version", value); },

});
Object.defineProperty(DeviceOriginal.prototype, "manufacturer", {
Object.defineProperty(Device.prototype, "manufacturer", {
get: function () { return cordovaPropertyGet(this, "manufacturer"); },

@@ -61,3 +50,3 @@ set: function (value) { cordovaPropertySet(this, "manufacturer", value); },

});
Object.defineProperty(DeviceOriginal.prototype, "isVirtual", {
Object.defineProperty(Device.prototype, "isVirtual", {
get: function () { return cordovaPropertyGet(this, "isVirtual"); },

@@ -68,3 +57,3 @@ set: function (value) { cordovaPropertySet(this, "isVirtual", value); },

});
Object.defineProperty(DeviceOriginal.prototype, "serial", {
Object.defineProperty(Device.prototype, "serial", {
get: function () { return cordovaPropertyGet(this, "serial"); },

@@ -75,11 +64,13 @@ set: function (value) { cordovaPropertySet(this, "serial", value); },

});
DeviceOriginal.pluginName = "Device";
DeviceOriginal.plugin = "cordova-plugin-device";
DeviceOriginal.pluginRef = "device";
DeviceOriginal.repo = "https://github.com/apache/cordova-plugin-device";
DeviceOriginal.platforms = ["Android", "Browser", "iOS", "macOS", "Windows"];
return DeviceOriginal;
Device.pluginName = "Device";
Device.plugin = "cordova-plugin-device";
Device.pluginRef = "device";
Device.repo = "https://github.com/apache/cordova-plugin-device";
Device.platforms = ["Android", "Browser", "iOS", "macOS", "Windows"];
Device = tslib_1.__decorate([
Injectable()
], Device);
return Device;
}(IonicNativePlugin));
var Device = new DeviceOriginal();
export { Device };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQGlvbmljLW5hdGl2ZS9wbHVnaW5zL2RldmljZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQ0EsT0FBTyw2REFBOEMsTUFBTSxvQkFBb0IsQ0FBQzs7SUE0QnBELDBCQUFpQjs7OzswQkFJM0MsMkJBQU87Ozs7OzswQkFPUCx5QkFBSzs7Ozs7OzBCQUlMLDRCQUFROzs7Ozs7MEJBSVIsd0JBQUk7Ozs7OzswQkFJSiwyQkFBTzs7Ozs7OzBCQUlQLGdDQUFZOzs7Ozs7MEJBSVosNkJBQVM7Ozs7OzswQkFJVCwwQkFBTTs7Ozs7Ozs7Ozs7aUJBaEVSO0VBNkI0QixpQkFBaUI7U0FBaEMsTUFBTSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvcmRvdmFQcm9wZXJ0eSwgSW9uaWNOYXRpdmVQbHVnaW4sIFBsdWdpbiB9IGZyb20gJ0Bpb25pYy1uYXRpdmUvY29yZSc7XG5cbmRlY2xhcmUgY29uc3Qgd2luZG93OiBhbnk7XG5cbi8qKlxuICogQG5hbWUgRGV2aWNlXG4gKiBAZGVzY3JpcHRpb25cbiAqIEFjY2VzcyBpbmZvcm1hdGlvbiBhYm91dCB0aGUgdW5kZXJseWluZyBkZXZpY2UgYW5kIHBsYXRmb3JtLlxuICpcbiAqIEB1c2FnZVxuICogYGBgdHlwZXNjcmlwdFxuICogaW1wb3J0IHsgRGV2aWNlIH0gZnJvbSAnQGlvbmljLW5hdGl2ZS9kZXZpY2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vcGVydHkoKVxuICB2ZXJzaW9uOiBzdHJpbmc7XG5cbiAgLyoqIEdldCB0aGUgZGV2aWNlJ3MgbWFudWZhY3R1cmVyLiAqL1xuICBAQ29yZG92YVByb3BlcnR5KClcbiAgbWFudWZhY3R1cmVyOiBzdHJpbmc7XG5cbiAgLyoqIFdoZXRoZXIgdGhlIGRldmljZSBpcyBydW5uaW5nIG9uIGEgc2ltdWxhdG9yLiAqL1xuICBAQ29yZG92YVByb3BlcnR5KClcbiAgaXNWaXJ0dWFsOiBib29sZWFuO1xuXG4gIC8qKiBHZXQgdGhlIGRldmljZSBoYXJkd2FyZSBzZXJpYWwgbnVtYmVyLiAqL1xuICBAQ29yZG92YVByb3BlcnR5KClcbiAgc2VyaWFsOiBzdHJpbmc7XG5cbn1cbiJdfQ==

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

{"description":"Ionic Native - Native plugins for ionic apps","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/ionic-team/ionic-native.git"},"name":"@ionic-native/device","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0","@ionic-native/core":"^5.1.0"},"version":"5.18.1-beta.2"}
{"description":"Ionic Native - Native plugins for ionic apps","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/ionic-team/ionic-native.git"},"name":"@ionic-native/device","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0","@ionic-native/core":"^5.1.0"},"version":"5.18.1-beta.3"}
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