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

remult

Package Overview
Dependencies
Maintainers
2
Versions
627
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.4.18 to 0.4.19

2

package.json
{
"name": "remult",
"version": "0.4.18",
"version": "0.4.19",
"description": "remult core lib",

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

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

var apiPathWithId = spec.paths['/api/' + key + "/{id}"] = {};
//https://github.com/2fd/open-api.d.ts
apiPath.get = secure(meta.options.allowApiRead, true, {

@@ -204,3 +205,6 @@ description: "return an array of " + key + ". supports filter operators",

};
apiPath.post = secure(meta.options.allowApiInsert, false, tslib_1.__assign(tslib_1.__assign({ "summary": "insert a " + key, "description": "insert a " + key, "produces": ["application/json"] }, itemInBody), { "responses": tslib_1.__assign({ "201": {
apiPath.post = secure(meta.options.allowApiInsert, false, tslib_1.__assign(tslib_1.__assign({
//"summary": "insert a " + key,
//"description": "insert a " + key,
"produces": ["application/json"] }, itemInBody), { "responses": tslib_1.__assign({ "201": {
"description": "Created",

@@ -219,3 +223,3 @@ "content": {

"200": {
"description": "returns an item of " + key,
// "description": "returns an item of " + key,
"content": {

@@ -231,3 +235,6 @@ "application/json": {

});
apiPathWithId.put = secure(meta.options.allowApiUpdate, false, tslib_1.__assign(tslib_1.__assign({ "summary": "Update a " + key, "description": "Update a " + key, "produces": ["application/json"], "parameters": [
apiPathWithId.put = secure(meta.options.allowApiUpdate, false, tslib_1.__assign(tslib_1.__assign({
//"summary": "Update a " + key,
//"description": "Update a " + key,
"produces": ["application/json"], "parameters": [
idParameter

@@ -245,4 +252,4 @@ ] }, itemInBody), { "responses": tslib_1.__assign({ "200": {

apiPathWithId.delete = secure(meta.options.allowApiDelete, false, {
"summary": "Delete a " + key,
"description": "Delete a " + key,
// "summary": "Delete a " + key,
// "description": "Delete a " + key,
"produces": ["application/json"],

@@ -249,0 +256,0 @@ "parameters": [

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