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

remult

Package Overview
Dependencies
Maintainers
0
Versions
631
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 2.7.25 to 2.7.26-next.0

11

esm/server/remult-api-server.js

@@ -206,5 +206,5 @@ import { __decorate, __metadata } from "tslib";

if (this.options.admin !== undefined && this.options.admin !== false) {
const admin = (is_entities_metadata) => this.process(async (remult, req, res, orig, origResponse) => {
const admin = () => this.process(async (remult, req, res, orig, origResponse) => {
if (remult.isAllowed(this.options.admin)) {
if (is_entities_metadata) {
if (orig.params.id === '__entities-metadata') {
res.success(buildEntityInfo({

@@ -226,6 +226,5 @@ remult,

});
r.route(this.options.rootPath + '/admin/__entities-metadata').get(admin(true));
r.route(this.options.rootPath + '/admin/:id').get(admin(false));
r.route(this.options.rootPath + '/admin/').get(admin(false));
r.route(this.options.rootPath + '/admin').get(admin(false));
r.route(this.options.rootPath + '/admin/:id').get(admin());
r.route(this.options.rootPath + '/admin/').get(admin());
r.route(this.options.rootPath + '/admin').get(admin());
}

@@ -232,0 +231,0 @@ r.route(this.options.rootPath + '/me').get(this.process(async (remult, req, res) => res.success(remult.user ?? null)));

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

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

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