cordova-plugin-shake
Advanced tools
Comparing version
{ | ||
"name": "cordova-plugin-shake", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"author": "Lee Crossley <leee@hotmail.co.uk> (http://ilee.co.uk/)", | ||
@@ -33,3 +33,7 @@ "description": "Cordova Plugin to detect when a physical device performs a shake gesture.", | ||
}, | ||
"homepage": "https://github.com/leecrossley/cordova-plugin-shake-detection#readme" | ||
"homepage": "https://github.com/leecrossley/cordova-plugin-shake-detection#readme", | ||
"dependencies": { | ||
"fs": "^0.0.1-security", | ||
"path":"^0.12.7" | ||
} | ||
} |
module.exports = function (ctx) { | ||
var fs = ctx.requireCordovaModule('fs'); | ||
var path = ctx.requireCordovaModule('path'); | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
@@ -5,0 +5,0 @@ function patchMainViewController(fileName) { |
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
20445
0.16%2
Infinity%10
-9.09%1
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added