Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

Commit fd3f184

Browse files
authored
update deps, remove xtend (#3)
1 parent b08207a commit fd3f184

6 files changed

Lines changed: 17 additions & 1882 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ build/Release
2525
# Dependency directory
2626
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
2727
node_modules
28+
package-lock.json

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
language: node_js
22
node_js:
3-
- '4'
4-
- '6'
3+
- 'lts/*'
4+
- '8'
5+
- 'node'
56
cache:
67
directories:
78
- node_modules

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
var stringKey = require('dat-encoding').toStr
22
// var path = require('path')
3-
var xtend = require('xtend')
3+
var xtend = Object.assign
44
var toiletdb = require('toiletdb')
55

66
module.exports = function (archive, opts) {
77
if (!opts) opts = {}
88

9-
var db = toiletdb({name: '/dat.json', fs: archive})
9+
var db = toiletdb({ name: '/dat.json', fs: archive })
1010
var fileDb = opts.file ? toiletdb(opts.file) : null
1111

1212
var that = {

0 commit comments

Comments
 (0)