From 5c8e966e8636fdab2c55cac0e4e0958f06f7ca1f Mon Sep 17 00:00:00 2001 From: James Halliday Date: Mon, 17 Dec 2012 01:45:15 -0800 Subject: [PATCH] using tape --- package.json | 10 ++++------ test/circular.js | 2 +- test/date.js | 2 +- test/equal.js | 2 +- test/error.js | 2 +- test/has.js | 2 +- test/instance.js | 2 +- test/interface.js | 2 +- test/json.js | 2 +- test/keys.js | 2 +- test/leaves.js | 2 +- test/mutability.js | 2 +- test/negative.js | 2 +- test/obj.js | 2 +- test/siblings.js | 2 +- test/stop.js | 2 +- test/stringify.js | 2 +- test/subexpr.js | 2 +- test/super_deep.js | 2 +- 19 files changed, 22 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index e5b5eb2..697481a 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,15 @@ { "name" : "traverse", - "version" : "0.6.3", + "version" : "0.6.4", "description" : "traverse and transform objects by visiting every node on a recursive walk", "main" : "index.js", - "bin" : {}, "directories" : { "example" : "example", "test" : "test" }, - "dependencies" : {}, "devDependencies" : { - "tap" : "~0.2.5" + "tap" : "~0.3.3", + "tape" : "~0.1.1" }, "scripts" : { "test" : "tap test/*.js" @@ -34,6 +33,5 @@ "email" : "mail@substack.net", "url" : "http://substack.net" }, - "license" : "MIT", - "engine" : { "node" : ">=0.6" } + "license" : "MIT" } diff --git a/test/circular.js b/test/circular.js index 10e32f0..f56506a 100644 --- a/test/circular.js +++ b/test/circular.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); var deepEqual = require('./lib/deep_equal'); var util = require('util'); diff --git a/test/date.js b/test/date.js index 6feb13f..54db4b0 100644 --- a/test/date.js +++ b/test/date.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('dateEach', function (t) { diff --git a/test/equal.js b/test/equal.js index 169b696..fd0463c 100644 --- a/test/equal.js +++ b/test/equal.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); var deepEqual = require('./lib/deep_equal'); diff --git a/test/error.js b/test/error.js index 6d3b44a..447c725 100644 --- a/test/error.js +++ b/test/error.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('traverse an Error', function (t) { diff --git a/test/has.js b/test/has.js index cc1a2e7..94a50c6 100644 --- a/test/has.js +++ b/test/has.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('has', function (t) { diff --git a/test/instance.js b/test/instance.js index 165bc71..112f477 100644 --- a/test/instance.js +++ b/test/instance.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); var EventEmitter = require('events').EventEmitter; diff --git a/test/interface.js b/test/interface.js index 7a7fda2..f454c27 100644 --- a/test/interface.js +++ b/test/interface.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('interface map', function (t) { diff --git a/test/json.js b/test/json.js index 2ab3ac4..46d55e6 100644 --- a/test/json.js +++ b/test/json.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('json test', function (t) { diff --git a/test/keys.js b/test/keys.js index b36bcbb..9661140 100644 --- a/test/keys.js +++ b/test/keys.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('sort test', function (t) { diff --git a/test/leaves.js b/test/leaves.js index 71e4529..c04ad5f 100644 --- a/test/leaves.js +++ b/test/leaves.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('leaves test', function (t) { diff --git a/test/mutability.js b/test/mutability.js index 30761a7..3ab90da 100644 --- a/test/mutability.js +++ b/test/mutability.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); var deepEqual = require('./lib/deep_equal'); diff --git a/test/negative.js b/test/negative.js index fdd1cc5..91566c8 100644 --- a/test/negative.js +++ b/test/negative.js @@ -1,5 +1,5 @@ var traverse = require('../'); -var test = require('tap').test; +var test = require('tape'); test('negative update test', function (t) { var obj = [ 5, 6, -3, [ 7, 8, -2, 1 ], { f : 10, g : -13 } ]; diff --git a/test/obj.js b/test/obj.js index 7f0cb70..8bcf58a 100644 --- a/test/obj.js +++ b/test/obj.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('traverse an object with nested functions', function (t) { diff --git a/test/siblings.js b/test/siblings.js index cdfbd7d..c59e557 100644 --- a/test/siblings.js +++ b/test/siblings.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('siblings', function (t) { diff --git a/test/stop.js b/test/stop.js index ecf38e4..9ce15b0 100644 --- a/test/stop.js +++ b/test/stop.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('stop', function (t) { diff --git a/test/stringify.js b/test/stringify.js index 862598d..f1680d8 100644 --- a/test/stringify.js +++ b/test/stringify.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); test('stringify', function (t) { diff --git a/test/subexpr.js b/test/subexpr.js index c372bf3..7682608 100644 --- a/test/subexpr.js +++ b/test/subexpr.js @@ -1,5 +1,5 @@ var traverse = require('../'); -var test = require('tap').test; +var test = require('tape'); test('subexpr', function (t) { var obj = [ 'a', 4, 'b', 5, 'c', 6 ]; diff --git a/test/super_deep.js b/test/super_deep.js index 088f890..1eb9e26 100644 --- a/test/super_deep.js +++ b/test/super_deep.js @@ -1,4 +1,4 @@ -var test = require('tap').test; +var test = require('tape'); var traverse = require('../'); var deepEqual = require('./lib/deep_equal');