test-helpers
Advanced tools
+6
-1
@@ -11,2 +11,3 @@ /*! | ||
| var path = require('path'); | ||
| var inspect = require('util'); | ||
| var file = require('fs-utils'); | ||
@@ -18,3 +19,2 @@ var Options = require('options-cache'); | ||
| /** | ||
@@ -85,2 +85,7 @@ * Initialize `helpers` with default `options`. | ||
| helpers.inspect = function(obj) { | ||
| return util.inspect(obj, null, 10)); | ||
| }; | ||
| helpers.readFixture = function(name) { | ||
@@ -87,0 +92,0 @@ var dir = path.join(this.options.fixtures, name); |
+1
-1
| { | ||
| "name": "test-helpers", | ||
| "description": "Node.js path and fs helpers for things like reading fixtures and writing results while running tests. ", | ||
| "version": "0.1.1", | ||
| "version": "0.1.2", | ||
| "homepage": "https://github.com/jonschlinkert/test-helpers", | ||
@@ -6,0 +6,0 @@ "author": { |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
9597
1.14%142
2.9%