+4
-4
| all: test docs | ||
| test: | ||
| @node_modules/whiskey/bin/whiskey --tests "test/memory_test.js test/mongodb_test.js test/mysql_test.js test/core_test.js" --print-stdout | ||
| @node_modules/whiskey/bin/whiskey --tests "test/memory_test.js test/mongodb_test.js test/mysql_test.js test/core_test.js" | ||
| testmongo: | ||
| @node_modules/whiskey/bin/whiskey --tests "test/mongodb_test.js" --print-stdout --verbosity 2 | ||
| @node_modules/whiskey/bin/whiskey --tests "test/mongodb_test.js" --verbosity 2 | ||
| testmysql: | ||
| @node_modules/whiskey/bin/whiskey --tests "test/mysql_test.js" --print-stdout --verbosity 2 | ||
| @node_modules/whiskey/bin/whiskey --tests "test/mysql_test.js" --verbosity 2 | ||
| testmemory: | ||
| @node_modules/whiskey/bin/whiskey --tests "test/memory_test.js" --print-stdout --verbosity 2 | ||
| @node_modules/whiskey/bin/whiskey --tests "test/memory_test.js" --verbosity 2 | ||
@@ -15,0 +15,0 @@ docs: |
+14
-8
| { | ||
| "name": "select", | ||
| "description": "A new kind of database library", | ||
| "homepage": "http://selectjs.com", | ||
| "version": "0.1.0", | ||
| "author": "Alex R. Young <alex@alexyoung.org>", | ||
| "repository": "git://github.com/alexyoung/select", | ||
| "main": "./index.js", | ||
| "engines": { "node": ">= 0.4.0" } | ||
| "name": "select" | ||
| , "description": "A new kind of database library" | ||
| , "homepage": "http://selectjs.com" | ||
| , "version": "0.1.1" | ||
| , "author": "Alex R. Young <alex@alexyoung.org>" | ||
| , "repository": "git://github.com/alexyoung/select" | ||
| , "main": "./index.js" | ||
| , "engines": { "node": ">= 0.4.0" } | ||
| , "devDependencies": { | ||
| "mongodb": "0.9.x" | ||
| , "whiskey": "0.3.x" | ||
| , "couch-client": ">= 0.0.4" | ||
| , "mysql": "0.9.x" | ||
| } | ||
| } | ||
+12
-10
@@ -6,3 +6,3 @@ var select = require('select'), | ||
| select(collection).raw(function(c, next) { | ||
| c.remove(); | ||
| c.remove(function() {}); | ||
| next(); | ||
@@ -189,11 +189,13 @@ | ||
| exports['test delete'] = function(test, assert) { | ||
| select('users'). | ||
| find(exampleID.toString()). | ||
| del(function() { | ||
| select('users'). | ||
| find(exampleID.toString(), function(err, values) { | ||
| assert.equal(0, values.length); | ||
| test.finish(); | ||
| }); | ||
| }); | ||
| fixtures('users4', function() { | ||
| select('users4'). | ||
| find({ 'name': 'Alex' }). | ||
| del(function() { | ||
| select('users4'). | ||
| find({ 'name': 'Alex' }, function(err, values) { | ||
| assert.equal(0, values.length); | ||
| test.finish(); | ||
| }); | ||
| }); | ||
| }); | ||
| }; | ||
@@ -200,0 +202,0 @@ |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
87186
0.14%1600
0.13%4
Infinity%