datastore-fs
Advanced tools
Comparing version 5.0.2 to 6.0.0
@@ -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
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
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
75241
12
762
9
2
1
+ Addeddatastore-core@6.0.7(transitive)
+ Addedinterface-datastore@6.1.1(transitive)
+ Addedinterface-store@2.0.2(transitive)
+ Addedit-glob@1.0.2(transitive)
- Removedabort-controller@3.0.0(transitive)
- Removedany-signal@2.1.2(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbuffer@6.0.3(transitive)
- Removeddata-uri-to-buffer@4.0.1(transitive)
- Removeddatastore-core@5.0.2(transitive)
- Removedelectron-fetch@1.9.1(transitive)
- Removedencoding@0.1.13(transitive)
- Removedevent-target-shim@5.0.1(transitive)
- Removedfetch-blob@3.2.0(transitive)
- Removedformdata-polyfill@4.0.10(transitive)
- Removedget-iterator@1.0.2(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedieee754@1.2.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedinterface-datastore@5.2.0(transitive)
- Removedinterface-store@1.0.2(transitive)
- Removedipfs-utils@8.1.6(transitive)
- Removedis-electron@2.2.2(transitive)
- Removedis-plain-obj@2.1.0(transitive)
- Removediso-url@1.2.1(transitive)
- Removedit-all@1.0.6(transitive)
- Removedit-glob@0.0.13(transitive)
- Removedit-to-stream@1.0.0(transitive)
- Removedmerge-options@3.0.4(transitive)
- Removednative-abort-controller@1.0.4(transitive)
- Removednative-fetch@3.0.0(transitive)
- Removednode-domexception@1.0.0(transitive)
- Removednode-fetch@3.3.2(transitive)
- Removedp-defer@3.0.0(transitive)
- Removedp-fifo@1.0.0(transitive)
- Removedreact-native-fetch-api@2.0.0(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedstream-to-it@0.2.4(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedweb-streams-polyfill@3.3.3(transitive)
Updateddatastore-core@^6.0.5
Updatedinterface-datastore@^6.0.2
Updatedit-glob@^1.0.1