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

datastore-fs

Package Overview
Dependencies
Maintainers
3
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datastore-fs - npm Package Compare versions

Comparing version 5.0.2 to 6.0.0

cjs/src/index.js

18

dist/src/index.d.ts

@@ -1,2 +0,1 @@

export = FsDatastore;
/**

@@ -10,3 +9,3 @@ * A datastore backed by the file system.

*/
declare class FsDatastore extends Adapter implements Datastore {
export class DatastoreFs extends BaseDatastore implements Datastore {
/**

@@ -68,12 +67,9 @@ * @param {string} location

}
declare namespace FsDatastore {
export { Datastore, Pair, Query, KeyQuery, AwaitIterable };
}
type Datastore = import('interface-datastore').Datastore;
import { Adapter } from "interface-datastore";
export type Datastore = import('interface-datastore').Datastore;
export type Pair = import('interface-datastore').Pair;
export type Query = import('interface-datastore').Query;
export type KeyQuery = import('interface-datastore').KeyQuery;
export type AwaitIterable<TEntry> = import('interface-store').AwaitIterable<TEntry>;
import { BaseDatastore } from "datastore-core";
import { Key } from "interface-datastore";
type Pair = import('interface-datastore').Pair;
type Query = import('interface-datastore').Query;
type KeyQuery = import('interface-datastore').KeyQuery;
type AwaitIterable<TEntry> = import('interface-store').AwaitIterable<TEntry>;
//# sourceMappingURL=index.d.ts.map
{
"name": "datastore-fs",
"version": "5.0.2",
"version": "6.0.0",
"description": "Datastore implementation with file system backend",
"leadMaintainer": "Alex Potsides <alex.potsides@protocol.ai>",
"main": "src/index.js",
"types": "dist/src/index.d.ts",
"main": "./cjs/src/index.js",
"types": "types/src/index.d.ts",
"files": [
"src",
"dist"
"*",
"!**/*.tsbuildinfo"
],
"browser": {
".": "./cjs/src/index.js"
},
"scripts": {
"prepare": "aegir build --no-bundle",
"test": "aegir test -t node",
"build": "aegir build",
"lint": "aegir lint",
"release": "aegir release -t node --build false",
"release-minor": "aegir release --type minor -t node --build false",
"release-major": "aegir release --type major -t node --build false",
"coverage": "nyc -s npm run test:node && nyc report --reporter=html",
"dep-check": "aegir dep-check"
"clean": "rimraf dist types",
"prepare": "aegir build --no-bundle && cp -R types dist",
"lint": "aegir ts -p check && aegir lint",
"build": "aegir build --no-bundle",
"release": "aegir release --target node",
"release-minor": "aegir release --type minor --target node",
"release-major": "aegir release --type major --target node",
"pretest": "aegir build --esm-tests",
"test": "aegir test",
"dep-check": "aegir dep-check -i rimraf"
},

@@ -41,6 +45,6 @@ "repository": {

"dependencies": {
"datastore-core": "^5.0.0",
"datastore-core": "^6.0.5",
"fast-write-atomic": "^0.2.0",
"interface-datastore": "^5.1.1",
"it-glob": "0.0.13",
"interface-datastore": "^6.0.2",
"it-glob": "^1.0.1",
"it-map": "^1.0.5",

@@ -51,6 +55,8 @@ "it-parallel-batch": "^1.0.9",

"devDependencies": {
"aegir": "^34.0.2",
"@types/mkdirp": "^1.0.2",
"@types/rimraf": "^3.0.2",
"aegir": "^35.0.3",
"async-iterator-all": "^1.0.0",
"detect-node": "^2.0.4",
"interface-datastore-tests": "^1.0.0",
"interface-datastore-tests": "^2.0.3",
"ipfs-utils": "^8.1.3",

@@ -61,3 +67,6 @@ "memdown": "^6.0.0",

"eslintConfig": {
"extends": "ipfs"
"extends": "ipfs",
"parserOptions": {
"sourceType": "module"
}
},

@@ -80,3 +89,10 @@ "contributors": [

"Bryan Stenson <bryan.stenson@gmail.com>"
]
}
],
"exports": {
".": {
"browser": "./esm/src/index.js",
"require": "./cjs/src/index.js",
"import": "./esm/src/index.js"
}
}
}

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