New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

temporary

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

temporary - npm Package Compare versions

Comparing version

to
0.0.6

0.0.6 / 2013-09-13
==================
* Export Dir and File in index
* Test on Node 0.10 as well
* Get tests passing on OSX
* Update Readme.md
0.0.5 / 2012-11-12

@@ -3,0 +11,0 @@ ==================

@@ -21,3 +21,3 @@ /**

*/
module.exports.File = require('./file');
module.exports.File = require('./lib/file');

@@ -27,2 +27,2 @@ /**

*/
module.exports.Dir = require('./dir');
module.exports.Dir = require('./lib/dir');
{
"name": "temporary"
, "version": "0.0.5"
, "version": "0.0.6"
, "description": "The lord of tmp."

@@ -5,0 +5,0 @@ , "keywords": ["tmp", "temp", "tempfile", "tempdirectory"]

@@ -21,6 +21,5 @@ [![Build Status](https://secure.travis-ci.org/vesln/temporary.png)](http://travis-ci.org/vesln/temporary)

var Tempfile = require('temporary/file');
var Tempdir = require('temporary/dir');
var file = new Tempfile;
var dir = new Tempdir;
var tmp = require('temporary');
var file = new tmp.File();
var dir = new tmp.Dir();

@@ -83,2 +82,2 @@ console.log(file.path); // path.

OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.

@@ -25,6 +25,6 @@ /**

var tmp = detector.tmp();
generator.build().should.match(new RegExp("^" + tmp));
generator.build('foo').should.match(new RegExp("^" + tmp + 'foo.'));
generator.build().indexOf(tmp).should.equal(0);
generator.build('foo').indexOf(tmp + 'foo.').should.equal(0);
});
});
});

Sorry, the diff of this file is not supported yet