cordova-plugin-iroot
Advanced tools
Comparing version 0.8.0 to 0.8.1
{ | ||
"name": "cordova-plugin-iroot", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "Cordova Jailbreak/Root Detection Plugin for Apache Cordova", | ||
@@ -5,0 +5,0 @@ "types": "./types/index.d.ts", |
#!/usr/bin/env node | ||
var helpers = require('./helpers'); | ||
var fs = require('fs'); | ||
module.exports = function(context) { | ||
var fs = context.requireCordovaModule('fs'); | ||
var busyboxPreference = getPreference('ENABLE_BUSYBOX_CHECK'); | ||
@@ -8,0 +8,0 @@ |
var helpers = require('./'); | ||
var path = require('path'); | ||
var fs = require('fs'); | ||
module.exports = function(platform) { | ||
var path = this.requireCordovaModule('path'); | ||
var fs = this.requireCordovaModule('fs'); | ||
var cordovaUtil = this.requireCordovaModule('cordova-lib/src/cordova/util'); | ||
@@ -7,0 +7,0 @@ var projectRoot = cordovaUtil.isCordova(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71405
3