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

remult

Package Overview
Dependencies
Maintainers
2
Versions
618
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remult - npm Package Compare versions

Comparing version 0.27.0 to 0.27.1-next.0

1

esm/server/remult-api-server.js

@@ -306,2 +306,3 @@ import { __decorate, __metadata } from "tslib";

if (req) {
remult.context.request = req;
remultStatic.asyncContext.setInInitRequest(true);

@@ -308,0 +309,0 @@ try {

5

esm/src/remult3/remult3.js

@@ -6,5 +6,6 @@ export const flags = {

- https://github.com/remult/remult/blob/query-argumets/projects/tests/dbs/test-sql-database.spec.ts#L100-L128
//p2 - allow preprocess to replace filter values - for example replace $contains on a specific field, with specific other sql - useful for full text search and other scenarios
//y1 - consider sql expression gets a dbnames of it's own (that already has the "tableName" defined correctly) maybe also the filter translator
//y2 - soft-delete-discussion https://discord.com/channels/975754286384418847/1230386433093533698/1230386433093533698
*/
//y1 - consider sql expression gets a dbnames of it's own (that already has the "tableName" defined correctly) maybe also the filter translator
//y2 - soft-delete-discussion https://discord.com/channels/975754286384418847/1230386433093533698/1230386433093533698
//p1 - fix query docs to also explain how it can be used for infinite scroll and pagination.

@@ -11,0 +12,0 @@ //y1 - 'test expression columns without aliases'

{
"name": "remult",
"version": "0.27.0",
"version": "0.27.1-next.0",
"description": "A CRUD framework for full-stack TypeScript",

@@ -5,0 +5,0 @@ "homepage": "https://remult.dev",

@@ -86,3 +86,20 @@ import type { ClassType } from '../classType.js';

export type GetArguments<T> = T extends (...args: infer FirstArgument) => any ? FirstArgument : never;
/**
* This type represents the context object available through `remult.context`
* It can be used to store custom information that will be available throughout the request lifecycle.
* @example
* remult.context.myCustomData = 'hello'
*/
export interface RemultContext {
/** When running on the backend as part of a request, will have the request object.
* You can type it to your specific type
* @example
* import type express from 'express'
* declare module 'remult' {
* export interface RemultContext {
* request?: express.Request
* }
* }
* */
request?: any;
}

@@ -89,0 +106,0 @@ /**

@@ -9,5 +9,6 @@ "use strict";

- https://github.com/remult/remult/blob/query-argumets/projects/tests/dbs/test-sql-database.spec.ts#L100-L128
//p2 - allow preprocess to replace filter values - for example replace $contains on a specific field, with specific other sql - useful for full text search and other scenarios
//y1 - consider sql expression gets a dbnames of it's own (that already has the "tableName" defined correctly) maybe also the filter translator
//y2 - soft-delete-discussion https://discord.com/channels/975754286384418847/1230386433093533698/1230386433093533698
*/
//y1 - consider sql expression gets a dbnames of it's own (that already has the "tableName" defined correctly) maybe also the filter translator
//y2 - soft-delete-discussion https://discord.com/channels/975754286384418847/1230386433093533698/1230386433093533698
//p1 - fix query docs to also explain how it can be used for infinite scroll and pagination.

@@ -14,0 +15,0 @@ //y1 - 'test expression columns without aliases'

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

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