New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

replicache

Package Overview
Dependencies
Maintainers
6
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

replicache - npm Package Compare versions

Comparing version 10.0.0-beta.1 to 10.0.0

27

out/replicache.d.ts

@@ -314,5 +314,5 @@ /** The values that can be represented in JSON */

/** The default AsyncIterable. This is the same as [[values]]. */
[Symbol.asyncIterator](): AsyncIterableIteratorToArrayWrapper<V>;
[Symbol.asyncIterator](): AsyncIterableIteratorToArray<V>;
/** Async iterator over the values of the [[ReadTransaction.scan|scan]] call. */
values(): AsyncIterableIteratorToArrayWrapper<V>;
values(): AsyncIterableIteratorToArray<V>;
/**

@@ -323,3 +323,3 @@ * Async iterator over the keys of the [[ReadTransaction.scan|scan]]

*/
keys(): AsyncIterableIteratorToArrayWrapper<K>;
keys(): AsyncIterableIteratorToArray<K>;
/**

@@ -331,3 +331,3 @@ * Async iterator over the entries of the [[ReadTransaction.scan|scan]]

*/
entries(): AsyncIterableIteratorToArrayWrapper<readonly [K, V]>;
entries(): AsyncIterableIteratorToArray<readonly [K, V]>;
/** Returns all the values as an array. Same as `values().toArray()` */

@@ -337,3 +337,3 @@ toArray(): Promise<V[]>;

/**
* A class that wraps an async iterable iterator to add a [[toArray]] method.
* An interface that adds a [[toArray]] method to `AsyncIterableIterator`.
*

@@ -346,10 +346,4 @@ * Usage:

*/
declare class AsyncIterableIteratorToArrayWrapper<V> implements AsyncIterableIterator<V> {
private readonly _it;
readonly next: (v?: any) => Promise<IteratorResult<V>>;
readonly return?: (value?: any) => Promise<IteratorResult<V>>;
readonly throw?: (e?: any) => Promise<IteratorResult<V>>;
constructor(it: AsyncIterableIterator<V>);
interface AsyncIterableIteratorToArray<V> extends AsyncIterableIterator<V> {
toArray(): Promise<V[]>;
[Symbol.asyncIterator](): AsyncIterableIterator<V>;
}

@@ -904,3 +898,3 @@ /**

private readonly _closeAbortController;
private readonly _persistLock;
private readonly _persistPullLock;
private _persistIsScheduled;

@@ -1122,2 +1116,7 @@ private _recoveringMutations;

export { AsyncIterableIteratorToArrayWrapper, ClientStateNotFoundReason, ClientStateNotFoundResponse, CreateIndexDefinition, Diff as ExperimentalDiff, DiffOperation as ExperimentalDiffOperation, Read as ExperimentalKVRead, Store as ExperimentalKVStore, Write as ExperimentalKVWrite, WatchCallback as ExperimentalWatchCallback, WatchOptions as ExperimentalWatchOptions, GetIndexScanIterator, GetScanIterator, HTTPRequestInfo, IndexKey, IterableUnion, JSONObject, JSONValue, KeyTypeForScanOptions, LogLevel, LogSink, MaybePromise, MutatorDefs, PatchOperation, Poke, PullError, PullRequest, PullResponse, PullResponseOK, Puller, PullerResult, PushError, PushRequest, Pusher, ReadTransaction, ReadonlyJSONObject, ReadonlyJSONValue, Replicache, ReplicacheOptions, RequestOptions, ScanIndexOptions, ScanNoIndexOptions, ScanOptionIndexedStartKey, ScanOptions, ScanResult, SubscribeOptions, TEST_LICENSE_KEY, TransactionClosedError, WriteTransaction, consoleLogSink, filterAsyncIterable, isScanIndexOptions, makeIDBName, makeScanResult, mergeAsyncIterables };
/**
* The current version of Replicache.
*/
declare const version: string;
export { AsyncIterableIteratorToArray, ClientStateNotFoundReason, ClientStateNotFoundResponse, CreateIndexDefinition, Diff as ExperimentalDiff, DiffOperation as ExperimentalDiffOperation, Read as ExperimentalKVRead, Store as ExperimentalKVStore, Write as ExperimentalKVWrite, WatchCallback as ExperimentalWatchCallback, WatchOptions as ExperimentalWatchOptions, GetIndexScanIterator, GetScanIterator, HTTPRequestInfo, IndexKey, IterableUnion, JSONObject, JSONValue, KeyTypeForScanOptions, LogLevel, LogSink, MaybePromise, MutatorDefs, PatchOperation, Poke, PullError, PullRequest, PullResponse, PullResponseOK, Puller, PullerResult, PushError, PushRequest, Pusher, ReadTransaction, ReadonlyJSONObject, ReadonlyJSONValue, Replicache, ReplicacheOptions, RequestOptions, ScanIndexOptions, ScanNoIndexOptions, ScanOptionIndexedStartKey, ScanOptions, ScanResult, SubscribeOptions, TEST_LICENSE_KEY, TransactionClosedError, WriteTransaction, consoleLogSink, filterAsyncIterable, isScanIndexOptions, makeIDBName, makeScanResult, mergeAsyncIterables, version };
{
"name": "replicache",
"description": "Realtime sync for any backend stack",
"version": "10.0.0-beta.1",
"version": "10.0.0",
"repository": "github:rocicorp/replicache",

@@ -24,3 +24,3 @@ "license": "https://roci.dev/terms.html",

"@esm-bundle/chai": "^4.3.4",
"@rocicorp/licensing": "^4.0.0-beta.3",
"@rocicorp/licensing": "^4.0.0",
"@rocicorp/lock": "^1.0.1",

@@ -27,0 +27,0 @@ "@rocicorp/logger": "^2.2.0",

Sorry, the diff of this file is too big to display

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