Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

datastore-idb

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datastore-idb - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

dist/index.min.js

178

package.json
{
"name": "datastore-idb",
"version": "1.1.0",
"version": "2.0.0",
"description": "Datastore implementation with IndexedDB backend.",
"leadMaintainer": "Hugo Dias <hugomrdias@gmail.com>",
"main": "src/index.js",
"author": "Hugo Dias <hugomrdias@gmail.com>",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/ipfs/js-datastore-idb#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/js-datastore-idb.git"
},
"bugs": {
"url": "https://github.com/ipfs/js-datastore-idb/issues"
},
"keywords": [
"browser",
"datastore",
"idb",
"interface",
"ipfs",
"key-value"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"type": "module",
"types": "./dist/src/index.d.ts",
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
}
},
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"sourceType": "module",
"project": [
"tsconfig.json",
"benchmarks/datastore-level/tsconfig.json"
]
}
},
"release": {
"branches": [
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "deps",
"release": "patch"
},
{
"scope": "no-release",
"release": false
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Trivial Changes"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "deps",
"section": "Dependencies"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
]
},
"scripts": {

@@ -14,39 +143,16 @@ "test": "aegir test -t browser -t webworker",

"release": "aegir release",
"release-minor": "aegir release --type minor",
"release-major": "aegir release --type major",
"coverage": "nyc -s npm run test:node && nyc report --reporter=html",
"dep-check": "aegir dep-check"
"dep-check": "aegir dep-check",
"docs": "aegir docs"
},
"repository": "github:ipfs/js-datastore-idb",
"keywords": [
"interface",
"key-value",
"ipfs",
"datastore",
"browser",
"idb"
],
"author": "Hugo Dias <hugomrdias@gmail.com>",
"license": "MIT",
"bugs": "https://github.com/ipfs/js-datastore-idb/issues",
"homepage": "https://github.com/ipfs/js-datastore-idb#readme",
"dependencies": {
"buffer": "^5.5.0",
"idb": "^5.0.2",
"interface-datastore": "^1.0.2"
"idb": "^7.1.1",
"interface-datastore": "^8.0.0",
"it-filter": "^2.0.1",
"it-sort": "^2.0.1"
},
"devDependencies": {
"aegir": "^22.0.0",
"chai": "^4.2.0",
"datastore-core": "^1.1.0",
"datastore-level": "^1.1.0",
"dirty-chai": "^2.0.1",
"ipfs-utils": "^2.2.0",
"iso-random-stream": "^1.1.1"
},
"contributors": [
"Hugo Dias <hugomrdias@gmail.com>",
"achingbrain <alex@achingbrain.net>",
"Hector Sanjuan <code@hector.link>"
]
"aegir": "^38.1.7",
"datastore-core": "^9.0.2",
"interface-datastore-tests": "^4.0.0"
}
}

@@ -1,41 +0,53 @@

# js-datastore-idb
# datastore-idb <!-- omit in toc -->
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![Build Status](https://flat.badgen.net/travis/ipfs/js-datastore-idb)](https://travis-ci.com/ipfs/js-datastore-idb)
[![Codecov](https://codecov.io/gh/ipfs/js-datastore-idb/branch/master/graph/badge.svg)](https://codecov.io/gh/ipfs/js-datastore-idb)
[![Dependency Status](https://david-dm.org/ipfs/js-datastore-idb.svg?style=flat-square)](https://david-dm.org/ipfs/js-datastore-idb)
[![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech)
[![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/js-datastore-idb.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-datastore-idb)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs/js-datastore-idb/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/ipfs/js-datastore-idb/actions/workflows/js-test-and-release.yml?query=branch%3Amaster)
> Datastore implementation with IndexedDB backend.
## Lead Maintainer
## Table of contents <!-- omit in toc -->
[Hugo Dias](https://github.com/hugomrdias)
- [Install](#install)
- [Browser `<script>` tag](#browser-script-tag)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
## Install
```console
$ npm i datastore-idb
```
$ npm install datastore-idb
```
## Usage
### Browser `<script>` tag
```js
const IdbStore = require('datastore-idb')
Loading this module through a script tag will make it's exports available as `DatastoreIdb` in the global namespace.
const store = new IdbStore('path/to/store')
```html
<script src="https://unpkg.com/datastore-idb/dist/index.min.js"></script>
```
## API Docs
- <https://ipfs.github.io/js-datastore-idb>
## License
Licensed under either of
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
## Contribute
Feel free to join in. All welcome. Open an [issue](https://github.com/ipfs/js-datastore-level/issues)!
Contributions welcome! Please check out [the issues](https://github.com/ipfs/js-datastore-idb/issues).
This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
Also see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general.
[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md)
Please be aware that all interactions related to this repo are subject to the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
## License
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
[MIT](LICENSE)
[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc