Comparing version 2.1.5 to 2.1.6
'use strict'; | ||
var fs = require('fs'); | ||
var buildModule = __dirname + '/build/Release/binding.node'; | ||
if (fs.existsSync(buildModule)) { | ||
try { | ||
module.exports = require(buildModule); | ||
} catch (e) { | ||
console.log('Cant\'t load `.node` module ' + buildModule); | ||
throw e; | ||
} | ||
return; | ||
} | ||
function compiler(a, b) { | ||
@@ -5,0 +19,0 @@ |
{ | ||
"name": "images", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "Cross-platform image decoder(png/jpeg/gif) and encoder(png/jpeg) for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
10274498
453
5