Comparing version 1.0.2 to 2.0.0
var fs = require('fs') | ||
module.exports.samples = fs.readdirSync(__dirname + '/samples').map(function(file){ | ||
return fs.readFileSync(__dirname + '/samples/' + file, {encoding: 'utf8'}); | ||
return { | ||
name: file, | ||
code: fs.readFileSync(__dirname + '/samples/' + file, {encoding: 'utf8'}), | ||
}; | ||
}); |
{ | ||
"name": "mson-zoo", | ||
"version": "1.0.2", | ||
"version": "2.0.0", | ||
"description": "Collection of MSON samples that can be used as a showcase or testing purposes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
5457
7