Comparing version 0.1.4 to 0.1.5
21
index.js
@@ -6,9 +6,14 @@ // Copyright 2014. A Medium Corporation | ||
*/ | ||
var fs = require('fs') | ||
var path = require('path') | ||
var libPath = path.join(__dirname, 'lib') | ||
fs.readdirSync(libPath).forEach(function (lib) { | ||
var name = lib.replace('.js', '') | ||
exports[name] = require(path.join(libPath, name)) | ||
}) | ||
module.exports = { | ||
append : require('./lib/append'), | ||
byteLength : require('./lib/byteLength'), | ||
filter : require('./lib/filter'), | ||
fork : require('./lib/fork'), | ||
invoke : require('./lib/invoke'), | ||
join : require('./lib/join'), | ||
map : require('./lib/map'), | ||
prepend : require('./lib/prepend'), | ||
replace : require('./lib/replace'), | ||
split : require('./lib/split'), | ||
tap : require('./lib/tap') | ||
}; |
{ | ||
"name": "sculpt", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Generate Node 0.10-friendly transform streams to manipulate other streams.", | ||
@@ -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
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
45876
935
0