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

canal

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canal - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

lib/Compiler.js

@@ -84,3 +84,3 @@ var _ = require('lodash');

var options = this.options;
var separator = options.separator || '/';
var separator = options.pathSeparator || '/';
var basePath = options.basePath || '/';

@@ -87,0 +87,0 @@ var identifierPreprocessor = options.identifierPreprocessor || function(value) { return value; };

{
"name": "canal",
"version": "1.0.0",
"version": "1.0.1",
"author": "Benjamin Pannell <admin@sierrasoftworks.com>",

@@ -5,0 +5,0 @@ "description": "A powerful route design helper for Express.js web applications",

@@ -62,3 +62,10 @@ # Canal

```javascript
function Canal(app, routes, basePath = '/');
function Canal(app, routes, options = Canal.options);
Canal.options = {
registrar: Canal.Express.registrar,
idenfifierPreprocessor: Canal.Express.identifierPreprocessor,
basePath: '/',
separator: '/'
};
```

@@ -65,0 +72,0 @@

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