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

@ionic-native/file-opener

Package Overview
Dependencies
Maintainers
2
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/file-opener - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0-alpha.1

index.metadata.json

8

index.d.ts

@@ -8,3 +8,3 @@ /**

* ```
* import {FileOpener} from 'ionic-native';
* import {FileOpener} from '@ionic-native/file-opener';
*

@@ -22,3 +22,3 @@ *

*/
static open(filePath: string, fileMIMEType: string): Promise<any>;
open(filePath: string, fileMIMEType: string): Promise<any>;
/**

@@ -29,3 +29,3 @@ * Uninstalls a package

*/
static uninstall(packageId: string): Promise<any>;
uninstall(packageId: string): Promise<any>;
/**

@@ -36,3 +36,3 @@ * Check if an app is already installed

*/
static appIsInstalled(packageId: string): Promise<any>;
appIsInstalled(packageId: string): Promise<any>;
}

@@ -7,2 +7,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

};
import { Injectable } from '@angular/core';
import { Plugin, Cordova } from '@ionic-native/core';

@@ -16,3 +17,3 @@ /**

* ```
* import {FileOpener} from 'ionic-native';
* import {FileOpener} from '@ionic-native/file-opener';
*

@@ -32,3 +33,3 @@ *

*/
FileOpener.open = function (filePath, fileMIMEType) { return; };
FileOpener.prototype.open = function (filePath, fileMIMEType) { return; };
/**

@@ -39,3 +40,3 @@ * Uninstalls a package

*/
FileOpener.uninstall = function (packageId) { return; };
FileOpener.prototype.uninstall = function (packageId) { return; };
/**

@@ -46,3 +47,8 @@ * Check if an app is already installed

*/
FileOpener.appIsInstalled = function (packageId) { return; };
FileOpener.prototype.appIsInstalled = function (packageId) { return; };
FileOpener.decorators = [
{ type: Injectable },
];
/** @nocollapse */
FileOpener.ctorParameters = function () { return []; };
__decorate([

@@ -54,3 +60,3 @@ Cordova({

})
], FileOpener, "open", null);
], FileOpener.prototype, "open", null);
__decorate([

@@ -62,3 +68,3 @@ Cordova({

})
], FileOpener, "uninstall", null);
], FileOpener.prototype, "uninstall", null);
__decorate([

@@ -70,3 +76,3 @@ Cordova({

})
], FileOpener, "appIsInstalled", null);
], FileOpener.prototype, "appIsInstalled", null);
FileOpener = __decorate([

@@ -82,2 +88,1 @@ Plugin({

}());
//# sourceMappingURL=index.js.map
{
"name": "@ionic-native/file-opener",
"version": "3.0.0",
"version": "3.1.0-alpha.1",
"description": "Ionic Native - Native plugins for ionic apps",

@@ -9,6 +9,6 @@ "module": "index.js",

"license": "MIT",
"dependencies": {
"@ionic-native/core": "3.0.0"
},
"peerDependencies": {
"@angular/core": "2.2.1",
"@ionic-native/core": "3.1.0-alpha.1",
"@ionic-native/utils": "3.1.0-alpha.1",
"rxjs": "5.0.0-beta.12"

@@ -19,3 +19,6 @@ },

"url": "https://github.com/driftyco/ionic-native.git"
},
"scripts": {
"postinstall": "node -e \"require('@ionic-native/utils').install(require('./plugin-config.json'))\""
}
}
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