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

@karhu/core

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

@karhu/core - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

7

package.json
{
"name": "@karhu/core",
"version": "0.5.0",
"version": "0.6.0",
"description": "Core package for Karhu, the lib for powering web app productivity tools",

@@ -9,3 +9,4 @@ "author": "Oskar Hane <oh@oskarhane.com>",

"preparePublish": "echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc",
"prepublishOnly": "npm run preparePublish"
"prepublishOnly": "npm run preparePublish",
"postpublish": "rm -f .npmrc"
},

@@ -26,3 +27,3 @@ "license": "Apache-2.0",

},
"gitHead": "c5dfbac3fd0df81fe7674788e8fbaebb32f1f685"
"gitHead": "bae989e6ef95d299fff2e8b02b4ab6d397ac83f5"
}

@@ -24,3 +24,3 @@ # `@karhu/core`

#### `karhu.addCommand()`
#### `karhu.addCommand`

@@ -33,3 +33,3 @@ Adds a command to the current Karhu instance.

### `karhu.removeCommand`
#### `karhu.removeCommand`

@@ -42,3 +42,3 @@ Removes a command from teh current Karhu instance.

### `karhu.findMatchingCommands`
#### `karhu.findMatchingCommands`

@@ -52,3 +52,3 @@ Searches through the existing commands keywords and the current entry graph to

### `karhu.runCommand`
#### `karhu.runCommand`

@@ -66,3 +66,3 @@ Call the command with the provided id's `.actions.onExec()` function.

### `karhu.getCommands`
#### `karhu.getCommands`

@@ -75,3 +75,3 @@ Returns a list of all registered commands for the Karhu instance.

### `karhu.getEntryGraph`
#### `karhu.getEntryGraph`

@@ -84,4 +84,12 @@ Returns the current Entry Graph for the Karhu instance.

### Static `Karhu.createCommand`
#### `karhu.replaceEntryGraph`
Overwrites the the current Entry Graph for the Karhu instance with the new one.
```ts
karhu.replaceEntryGraph(entryGraph: EntryGraph): void
```
#### Static `Karhu.createCommand`
Makes an `UnregisteredCommand` -> `Command`. Mostly used internally but can be useful in

@@ -88,0 +96,0 @@ some situations.

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