rethinkdb-fixtures
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -18,3 +18,3 @@ 'use strict'; | ||
const prep = require('../index') | ||
.Prepare({ db: DB }); | ||
.Base({ db: DB }); | ||
@@ -21,0 +21,0 @@ prep.connect() |
@@ -18,3 +18,3 @@ 'use strict'; | ||
} | ||
return function () {} | ||
return function () {}; | ||
}; | ||
@@ -21,0 +21,0 @@ |
@@ -27,5 +27,5 @@ 'use strict'; | ||
module.exports = function(options,tables) { | ||
module.exports = function (options,tables) { | ||
return _delete.call(new Base(options),tables); | ||
}; |
@@ -30,5 +30,5 @@ 'use strict'; | ||
module.exports = function(options,fixture) { | ||
module.exports = function (options,fixture) { | ||
return insert.call(new Base(options),fixture); | ||
}; |
@@ -36,4 +36,4 @@ 'use strict'; | ||
return Promise.resolve(Object.assign(...fixtures)); | ||
return Promise.resolve(Object.assign.apply(undefined, fixtures)); | ||
}); | ||
}; |
{ | ||
"name": "rethinkdb-fixtures", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Easily load fixtures into Rethinkdb. Useful for testing.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
19075
0