Add pouch-find

This commit is contained in:
Junyoung Choi 2019-08-30 16:01:01 +09:00
parent ef72c46f4b
commit 140428a25e
No known key found for this signature in database
GPG Key ID: C1B25CE98BF97FBF
3 changed files with 128 additions and 0 deletions

125
package-lock.json generated
View File

@ -7853,6 +7853,131 @@
"node-fetch": "^2.0.0"
}
},
"pouchdb-find": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-find/-/pouchdb-find-7.1.1.tgz",
"integrity": "sha512-3NP63Oi3Gac86hJ1aUpX/CsfN46WNZQKVykAI90Ujq5ruYIIufk5br+rQ+bvZ1I/Aj+2ayiqE6J+MOHuXAiuUA==",
"requires": {
"pouchdb-abstract-mapreduce": "7.1.1",
"pouchdb-collate": "7.1.1",
"pouchdb-errors": "7.1.1",
"pouchdb-fetch": "7.1.1",
"pouchdb-md5": "7.1.1",
"pouchdb-selector-core": "7.1.1",
"pouchdb-utils": "7.1.1"
},
"dependencies": {
"buffer-from": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz",
"integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ=="
},
"node-fetch": {
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.4.1.tgz",
"integrity": "sha512-P9UbpFK87NyqBZzUuDBDz4f6Yiys8xm8j7ACDbi6usvFm6KItklQUKjeoqTrYS/S1k6I8oaOC2YLLDr/gg26Mw=="
},
"pouchdb-abstract-mapreduce": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-abstract-mapreduce/-/pouchdb-abstract-mapreduce-7.1.1.tgz",
"integrity": "sha512-zyVdcXpk/4Wi4I4pkN+KDx1APVY4NiJQFb9b7A7/M7PA+B9pzHGiNBMwzR1UDytF+Chfknsi0bL91GKhJ28pRA==",
"requires": {
"pouchdb-binary-utils": "7.1.1",
"pouchdb-collate": "7.1.1",
"pouchdb-collections": "7.1.1",
"pouchdb-errors": "7.1.1",
"pouchdb-fetch": "7.1.1",
"pouchdb-mapreduce-utils": "7.1.1",
"pouchdb-md5": "7.1.1",
"pouchdb-utils": "7.1.1"
}
},
"pouchdb-binary-utils": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-binary-utils/-/pouchdb-binary-utils-7.1.1.tgz",
"integrity": "sha512-DSN6AW59ycCR97JBMSGmVEfWxAEO4KzdDR6wZzCpQmT3H2Bvtv18dmKaoWnm8nAZQiXQQjgHBipRH4MlxY21zQ==",
"requires": {
"buffer-from": "1.1.0"
}
},
"pouchdb-collate": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-collate/-/pouchdb-collate-7.1.1.tgz",
"integrity": "sha512-RNe44kHV96AHU22mJHwNX+JkpR5HnJsQdfn+15otq/TZk6GYbVl7LeDgkyZS6BILq6Ms3gzeimpHUP21xswejA=="
},
"pouchdb-collections": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-collections/-/pouchdb-collections-7.1.1.tgz",
"integrity": "sha512-Iwdv74+H8tSc9cM7co0X4eJQglaPp+uIX7qjzK5MIeZThUHNcJQxOC92qGK1qE3Z2feAD5LxhXEIYDia/lB8pw=="
},
"pouchdb-errors": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-errors/-/pouchdb-errors-7.1.1.tgz",
"integrity": "sha512-A5VC4pzvNNfdldj4QqiygHfokTbjM0O5FiNzyun0LUQIJ+o5xFHMINfP3hmJ8HFTHI3mRNUul7Qjdu3Spzm4vg==",
"requires": {
"inherits": "2.0.3"
}
},
"pouchdb-fetch": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-fetch/-/pouchdb-fetch-7.1.1.tgz",
"integrity": "sha512-2N8rX/Do+YXnAR9UfuZBq1LJpGcd+6qmfp+5jD7PmAReGcQUvTEtSzheUy7Y6xiEGnr+0V5m7EinjlgtNuSo9A==",
"requires": {
"fetch-cookie": "0.7.0",
"node-fetch": "2.4.1"
}
},
"pouchdb-mapreduce-utils": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-mapreduce-utils/-/pouchdb-mapreduce-utils-7.1.1.tgz",
"integrity": "sha512-25+quHnr69J6n1fwwESfkV6tYIFSu4qqaW4EBL7CATwguEn3wEa7y86pCkAzpIJrAL6WcvtryQpT78raqfzoHw==",
"requires": {
"argsarray": "0.0.1",
"inherits": "2.0.3",
"pouchdb-collections": "7.1.1",
"pouchdb-utils": "7.1.1"
}
},
"pouchdb-md5": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-md5/-/pouchdb-md5-7.1.1.tgz",
"integrity": "sha512-XzuDBoOEcviP8yv5R0ruuPpZDBtpohtbVg1dLU52WbPMLvU5YK/yy8mJxggbvolG+iNMDde1IfubY3NNflFuPQ==",
"requires": {
"pouchdb-binary-utils": "7.1.1",
"spark-md5": "3.0.0"
}
},
"pouchdb-selector-core": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-selector-core/-/pouchdb-selector-core-7.1.1.tgz",
"integrity": "sha512-3bNdVwFrVSHuOS2pleKFqa5UODLrxEXQVzO6z9deWwVB1VAb9tIA60031GUrNrIg3D3vKXjVDCvpexT1SDSh9Q==",
"requires": {
"pouchdb-collate": "7.1.1",
"pouchdb-utils": "7.1.1"
}
},
"pouchdb-utils": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/pouchdb-utils/-/pouchdb-utils-7.1.1.tgz",
"integrity": "sha512-a2c7JFOEy6kfdD3JuTOyH6oBLlPznpg32IBrRGf4sjmIfBRFdzTo/fvuxNyLf/d+q0/7Ec1M8xUfUVT+RkViAw==",
"requires": {
"argsarray": "0.0.1",
"clone-buffer": "1.0.0",
"immediate": "3.0.6",
"inherits": "2.0.3",
"pouchdb-collections": "7.1.1",
"pouchdb-errors": "7.1.1",
"pouchdb-md5": "7.1.1",
"uuid": "3.2.1"
}
},
"uuid": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz",
"integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA=="
}
}
},
"pouchdb-generate-replication-id": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/pouchdb-generate-replication-id/-/pouchdb-generate-replication-id-7.0.0.tgz",

View File

@ -82,6 +82,7 @@
"pouchdb-adapter-idb": "^7.0.0",
"pouchdb-adapter-memory": "^7.0.0",
"pouchdb-core": "^7.0.0",
"pouchdb-find": "^7.1.1",
"pouchdb-mapreduce": "^7.0.0",
"pouchdb-replication": "^7.0.0",
"ramda": "^0.26.1",

View File

@ -4,11 +4,13 @@ import PouchDBMemoryAdapter from 'pouchdb-adapter-memory'
import PouchDBMapReduce from 'pouchdb-mapreduce'
import PouchDBHttpAdapter from 'pouchdb-adapter-http'
import PouchDBReplication from 'pouchdb-replication'
import PouchDBFind from 'pouchdb-find'
const PouchDB = PouchDBCore.plugin(PouchDBIDBAdapter)
.plugin(PouchDBMemoryAdapter)
.plugin(PouchDBHttpAdapter)
.plugin(PouchDBMapReduce)
.plugin(PouchDBReplication)
.plugin(PouchDBFind)
export default PouchDB