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

keisatsu

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keisatsu - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

5

lib/src/Agent.js

@@ -19,8 +19,5 @@ "use strict";

this.taskPlans = {};
this.hq = hq;
hq.registerAgent(this);
}
registerTask(task) {
const newTask = new task(this.hq, this);
this.tasks[task.name] = newTask;
this.tasks[task.name] = new task(this.hq, this);
}

@@ -27,0 +24,0 @@ addTaskPlan(name, taskPlan) {

4

lib/src/Keisatsu.d.ts

@@ -5,5 +5,7 @@ import Agent from './Agent';

constructor();
registerAgent(agent: Agent): void;
registerAgent<T extends Agent>(agent: {
new (...args: any[]): T;
}): T;
getAgent(name: string): Agent;
get(property: string): any;
}

@@ -8,3 +8,5 @@ "use strict";

registerAgent(agent) {
this.agents[agent.constructor.name] = agent;
const newAgent = new agent(this);
this.agents[agent.name] = newAgent;
return newAgent;
}

@@ -11,0 +13,0 @@ getAgent(name) {

{
"name": "keisatsu",
"version": "0.0.5",
"version": "0.0.6",
"description": "Task runner based on yakuza",

@@ -5,0 +5,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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