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

radweb-server

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radweb-server - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

9

expressBridge.js

@@ -127,10 +127,13 @@ "use strict";

this.app.route(myRoute + '/:id')
//@ts-ignore
.get(this.process(function (req, res, orig) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
return [2 /*return*/, api(req).get(res, orig.query.id)];
return [2 /*return*/, api(req).get(res, orig.params.id)];
}); }); }))
//@ts-ignore
.put(this.process(function (req, res, orig) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
return [2 /*return*/, api(req).put(res, orig.query.id, orig.body)];
return [2 /*return*/, api(req).put(res, orig.params.id, orig.body)];
}); }); }))
//@ts-ignore
.delete(this.process(function (req, res, orig) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
return [2 /*return*/, api(req).delete(res, orig.query.id)];
return [2 /*return*/, api(req).delete(res, orig.params.id)];
}); }); }));

@@ -137,0 +140,0 @@ };

{
"name": "radweb-server",
"version": "3.0.1",
"version": "3.0.2",
"main":"index.js",

@@ -5,0 +5,0 @@ "Dependencies": {

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