patchnav-basic
Advanced tools
+3
-1
@@ -5,2 +5,4 @@ var h = require('hyperscript') | ||
| var URL = require('url') | ||
| var fs = require('fs') | ||
| var path = require('path') | ||
@@ -71,3 +73,3 @@ function ObvMap (obv, map) { | ||
| nav.appendChild( | ||
| h('style', {innerText: require('fs').readFileSync(require('path').join(__dirname, 'style.css'))}) | ||
| h('style', {innerText: fs.readFileSync(path.join(__dirname, 'style.css'))}) | ||
| ) | ||
@@ -74,0 +76,0 @@ |
+9
-1
| { | ||
| "name": "patchnav-basic", | ||
| "description": "", | ||
| "version": "2.0.0", | ||
| "version": "2.0.1", | ||
| "homepage": "https://github.com/dominictarr/patchnav-basic", | ||
@@ -16,2 +16,10 @@ "repository": { | ||
| }, | ||
| "browserify": { | ||
| "transform": [ | ||
| "brfs" | ||
| ] | ||
| }, | ||
| "browser": { | ||
| "electron": false | ||
| }, | ||
| "devDependencies": {}, | ||
@@ -18,0 +26,0 @@ "scripts": { |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
5653
2.37%156
1.3%