Socket
Socket
Sign inDemoInstall

@helenejs/data

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helenejs/data - npm Package Compare versions

Comparing version 1.3.0-alpha.10 to 1.3.0-alpha.11

3

lib/collection.d.ts

@@ -16,2 +16,3 @@ import { Index } from './indexes';

export type UpdateTransformerHookFunction = <T = any>(newDoc: T, oldDoc: T) => Promise<T>;
export type Document = Record<string, any>;
export type CollectionOptions = {

@@ -110,3 +111,3 @@ name?: string;

getCandidates(query: any, dontExpireStaleDocs?: boolean): Promise<any>;
insert(newDoc: any): Promise<any>;
insert(newDoc: Document | Document[]): Promise<any>;
/**

@@ -113,0 +114,0 @@ * Create a new _id that's not already in use

export interface IStorage {
read(name: any): Promise<string>;
write(name: any, data: any): Promise<void>;
append(name: any, data: any): Promise<void>;
read(name: string): Promise<string>;
write(name: string, data: string): Promise<void>;
append(name: string, data: string): Promise<void>;
}
{
"name": "@helenejs/data",
"version": "1.3.0-alpha.10",
"version": "1.3.0-alpha.11",
"description": "Real-time Web Apps for Node.js and Bun",

@@ -52,3 +52,3 @@ "main": "lib/index.js",

},
"gitHead": "0eef1edcf8e181b18e9742d15a5eff6d82920ac4"
"gitHead": "65a50e77bd4f4c4bfe75f63d65b3bbff79c930e5"
}

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