New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

jump

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

jump - npm Package Compare versions

Comparing version
0.0.3
to
0.0.4
Jump.workflow/Contents/document.wflow

Sorry, the diff of this file is not supported yet

+23
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSServices</key>
<array>
<dict>
<key>NSMenuItem</key>
<dict>
<key>default</key>
<string>Jump</string>
</dict>
<key>NSMessage</key>
<string>runWorkflowAsService</string>
<key>NSRequiredContext</key>
<dict>
<key>NSApplicationIdentifier</key>
<string>com.apple.Terminal</string>
</dict>
</dict>
</array>
</dict>
</plist>

Sorry, the diff of this file is not supported yet

+10
-14

@@ -77,18 +77,14 @@ #!/usr/bin/env node

Suggestions.prototype.selectPrevious = function(){
if (this.selected>0){
var cycle = function(dir){
return function(){
var mod = Math.min(this.number, this.length);
var step = (mod + dir) % mod;
this.defaults=false;
this.selected--;
this.selected=(this.selected+step)%mod;
this.render();
}
this.render();
};
}
Suggestions.prototype.selectPrevious = cycle(-1);
Suggestions.prototype.selectNext = cycle(+1);
Suggestions.prototype.selectNext = function(){
if (this.selected<this.number && this.selected<this.length-1){
this.defaults=false;
this.selected++;
}
this.render();
};
Suggestions.prototype.output = function(){

@@ -130,3 +126,3 @@ if (this[this.selected]){

opts
.version('0.0.3')
.version('0.0.4')
.option('-n --number <n>', 'number of suggestions', Number, 5)

@@ -133,0 +129,0 @@ .option('-a --auto', 'automatically change directory if only one suggestion', false)

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

"description": "autosuggest change directory",
"version": "0.0.3",
"version": "0.0.4",
"repository": {

@@ -8,0 +8,0 @@ "url": "git://github.com/afriggeri/jump.git"

@@ -29,3 +29,6 @@ #Installation

#Service
A service is included so that it is possible to bind a keyboard shortcut to starting jump (e.g. `^T`).
#TODO

@@ -32,0 +35,0 @@