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

oils

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oils - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

4

oils-js-core/utils/routeUtils.js
var objectUtils = require('./objectUtils');
exports.applyRoute = function(app, route, obj) {
if (obj.route) {
//override autoroute with controller's defined route
route = obj.route;
}
var server = app.server;

@@ -4,0 +8,0 @@ if (objectUtils.isObject(obj)) {

2

package.json
{
"name": "oils",
"version": "0.2.3",
"version": "0.2.4",
"description": "Oils js framework built on top of Express.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -21,2 +21,5 @@ oils

Version 0.2.4 ([Download](https://github.com/mannyvergel/oils-js/archive/v0.2.4.zip))
* support for custom routes in controllers
Version 0.2.3 ([Download](https://github.com/mannyvergel/oils-js/archive/v0.2.3.zip))

@@ -23,0 +26,0 @@ * support for routing verbs: get, post, put, delete, options, all

@@ -19,2 +19,3 @@ CONTROLLERS FOLDER

autoRoute: false,
route: '/my-custom-route',//override autoroute path

@@ -21,0 +22,0 @@ get : function(req, res) {

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