Socket
Socket
Sign inDemoInstall

remult

Package Overview
Dependencies
Maintainers
0
Versions
588
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.13 to 0.27.14

2

esm/server/remult-api-server.js

@@ -19,2 +19,4 @@ import { __decorate, __metadata } from "tslib";

const safeOptions = options ?? {};
if (!safeOptions.entities)
safeOptions.entities = [];
if (!safeOptions.subscriptionServer) {

@@ -21,0 +23,0 @@ safeOptions.subscriptionServer = new SseSubscriptionServer();

4

esm/src/remult3/relationInfoMember.js

@@ -41,3 +41,3 @@ import { CompoundIdField } from '../CompoundIdField.js';

function buildError(what) {
return Error(`Error for relation: "${field.key}" to "${toRepo.metadata.key}": ` +
return Error(`Error for relation: "${repo.metadata.key}.${field.key}", ` +
what);

@@ -74,3 +74,3 @@ }

if (!hasFields())
throw buildError(`No matching field found on target. Please specify field/fields`);
throw buildError(`No matching field found on target "${toRepo.metadata.key}". Please specify field/fields`);
}

@@ -77,0 +77,0 @@ function requireField(field, meta) {

@@ -20,2 +20,3 @@ export const GroupByCountMember = '$count';

};
//p1 - add aggregate to query
//p1 - add parameter all to deleteMany, and updateMany

@@ -22,0 +23,0 @@ //p1 filter.apply ApiPreFilter

{
"name": "remult",
"version": "0.27.13",
"version": "0.27.14",
"description": "A CRUD framework for full-stack TypeScript",

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

@@ -51,3 +51,3 @@ "use strict";

function buildError(what) {
return Error("Error for relation: \"".concat(field.key, "\" to \"").concat(toRepo_1.metadata.key, "\": ") +
return Error("Error for relation: \"".concat(repo.metadata.key, ".").concat(field.key, "\", ") +
what);

@@ -94,3 +94,3 @@ }

if (!hasFields())
throw buildError("No matching field found on target. Please specify field/fields");
throw buildError("No matching field found on target \"".concat(toRepo_1.metadata.key, "\". Please specify field/fields"));
}

@@ -97,0 +97,0 @@ function requireField(field, meta) {

@@ -542,3 +542,7 @@ import type { ErrorInfo, FieldOptions } from '../../index.js';

}): Promise<number>;
/** Creates an instance of an item. It'll not be saved to the data source unless `save` or `insert` will be called for that item */
/** Creates an instance of an item. It'll not be saved to the data source unless `save` or `insert` will be called.
*
* It's usefull to start or reset a form taking your entity default values into account.
*
*/
create(item?: Partial<MembersOnly<entityType>>): entityType;

@@ -545,0 +549,0 @@ toJson(item: Promise<entityType[]>): Promise<any[]>;

@@ -23,2 +23,3 @@ "use strict";

};
//p1 - add aggregate to query
//p1 - add parameter all to deleteMany, and updateMany

@@ -25,0 +26,0 @@ //p1 filter.apply ApiPreFilter

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

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

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