🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@peerbit/document

Package Overview
Dependencies
Maintainers
1
Versions
383
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peerbit/document - npm Package Compare versions

Comparing version

to
9.6.3-a547831

4

dist/src/program.js

@@ -67,3 +67,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

this._optionCanPerform = options.canPerform;
const idProperty = options.index?.idProperty || "id";
const idProperty = options.index?.idProperty ||
indexerTypes.getIdProperty(this._clazz) ||
"id";
const idResolver = options.id ||

@@ -70,0 +72,0 @@ (typeof idProperty === "string"

{
"name": "@peerbit/document",
"version": "9.6.2",
"description": "Document store implementation",
"type": "module",
"sideEffects": false,
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist",
"!dist/e2e",
"!dist/test",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
}
},
"eslintConfig": {
"extends": "peerbit",
"parserOptions": {
"project": true,
"sourceType": "module"
},
"ignorePatterns": [
"!.aegir.js",
"test/ts-use",
"*.d.ts"
]
},
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "aegir clean",
"build": "aegir build --no-bundle",
"test": "aegir test --target node",
"lint": "aegir lint"
},
"author": "dao.xyz",
"license": "MIT",
"dependencies": {
"@dao-xyz/borsh": "^5.2.3",
"@peerbit/program": "5.2.11",
"@peerbit/rpc": "5.3.3",
"@peerbit/shared-log": "11.2.2",
"@peerbit/indexer-interface": "^2.0.9",
"@peerbit/indexer-simple": "^1.1.14",
"@peerbit/indexer-sqlite3": "^1.2.19",
"@peerbit/document-interface": "^2.1.4",
"@peerbit/indexer-cache": "^0.0.1"
},
"devDependencies": {
"@peerbit/test-utils": "2.1.46",
"@peerbit/time": "2.1.0",
"@types/pidusage": "^2.0.5",
"pidusage": "^3.0.2"
}
"name": "@peerbit/document",
"version": "9.6.3-a547831",
"description": "Document store implementation",
"type": "module",
"sideEffects": false,
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist",
"!dist/e2e",
"!dist/test",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
}
},
"eslintConfig": {
"extends": "peerbit",
"parserOptions": {
"project": true,
"sourceType": "module"
},
"ignorePatterns": [
"!.aegir.js",
"test/ts-use",
"*.d.ts"
]
},
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "aegir clean",
"build": "aegir build --no-bundle",
"test": "aegir test --target node",
"lint": "aegir lint"
},
"author": "dao.xyz",
"license": "MIT",
"dependencies": {
"@dao-xyz/borsh": "^5.2.3",
"@peerbit/program": "5.2.11-a547831",
"@peerbit/rpc": "5.3.3-a547831",
"@peerbit/shared-log": "11.2.3-a547831",
"@peerbit/indexer-interface": "2.0.9-a547831",
"@peerbit/indexer-simple": "1.1.14-a547831",
"@peerbit/indexer-sqlite3": "1.2.19-a547831",
"@peerbit/document-interface": "2.1.4-a547831",
"@peerbit/indexer-cache": "0.0.1-a547831"
},
"devDependencies": {
"@peerbit/test-utils": "2.1.46-a547831",
"@peerbit/time": "2.1.0-a547831",
"@types/pidusage": "^2.0.5",
"pidusage": "^3.0.2"
}
}

@@ -191,3 +191,6 @@ import {

this._optionCanPerform = options.canPerform;
const idProperty = options.index?.idProperty || "id";
const idProperty =
options.index?.idProperty ||
indexerTypes.getIdProperty(this._clazz) ||
"id";
const idResolver =

@@ -194,0 +197,0 @@ options.id ||

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet