eslint-config-vgno
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "eslint-config-vgno", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "ESLint configuration for VG.no coding standard", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
'use strict'; | ||
var path = require('path'); | ||
var fs = require('fs'); | ||
@@ -8,8 +7,3 @@ | ||
var content = fs.readFileSync( | ||
path.join( | ||
__dirname, | ||
'node_modules', | ||
'vgno-coding-standards', | ||
file | ||
), | ||
require.resolve('vgno-coding-standards/' + file), | ||
'utf8' | ||
@@ -16,0 +10,0 @@ ); |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
4908
37
2