grunt-exports2json
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "grunt-exports2json", | ||
"description": "A grunt plugin. convert module.exports to JSON and output.", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/kaminaly/grunt-exports2json", | ||
@@ -47,6 +47,6 @@ "author": { | ||
}, | ||
"readme": "# grunt-exports2json v0.1.0\n\n> Just only feature, that convert module.exports to JSON and output. You can use CoffeeScript.", | ||
"readme": "# grunt-exports2json v0.1.1\n\n> Just only feature, that convert module.exports to JSON and output. You can use CoffeeScript.", | ||
"readmeFilename": "README.md", | ||
"_id": "grunt-exports2json@0.1.0", | ||
"_id": "grunt-exports2json@0.1.1", | ||
"_from": "grunt-exports2json@" | ||
} |
@@ -1,3 +0,3 @@ | ||
# grunt-exports2json v0.1.0 | ||
# grunt-exports2json v0.1.1 | ||
> Just only feature, that convert module.exports to JSON and output. You can use CoffeeScript. |
@@ -28,3 +28,5 @@ /* | ||
}).forEach(function(src){ | ||
grunt.file.write(f.dest, JSON.stringify(require(path.join(cwd, src)))); | ||
src = path.join(cwd, src); | ||
delete require.cache[src] | ||
grunt.file.write(f.dest, JSON.stringify(require(src))); | ||
}); | ||
@@ -31,0 +33,0 @@ |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
6329
134