Sorry, the diff of this file is not supported yet
| <?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) |
+1
-1
@@ -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" |
+3
-0
@@ -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 @@ |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
73660
837.63%7
75%56
5.66%167
-1.76%