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

clip

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clip - npm Package Compare versions

Comparing version

to
0.1.6

6

lib/clip.js

@@ -97,3 +97,2 @@ var optimist = require('optimist');

}).join('/');
console.log(cmd.url)
var tty = new TTYHelper();

@@ -160,5 +159,3 @@ this.handle(cmd, tty, cb);

//matching route, fire off all the middleware
cmd.params = match.length ? match[0].split('/').map(function(part) {
return decodeURIComponent(part);
}) : '';
cmd.params = match;
tty = tty || new CLIResponse();

@@ -184,3 +181,2 @@ if (this.middleware.length) {

if(!cmd.flags.h) {
console.log(cmd.url.length > 1 && cmd.url.slice(-1) == '/')
if(cmd.url.length > 1 && cmd.url.slice(-1) == '/') {

@@ -187,0 +183,0 @@ cmd.url = cmd.url.slice(0,-1);

2

package.json

@@ -5,3 +5,3 @@ {

"author": "bradleymeck",
"version": "0.1.5",
"version": "0.1.6",
"keywords": [

@@ -8,0 +8,0 @@ "CLI"