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

ac-koa

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ac-koa - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

9

lib/index.js

@@ -81,12 +81,13 @@ var _ = require('lodash');

addonEvents.on(event, function (context) {
var def = definition;
co(function *() {
if (!definition) {
if (!def) {
var name = context.query.name;
if (name) {
definition = yield adapter.webhookFor(addon.descriptor, context.tenant, name, context);
def = yield adapter.webhookFor(addon.descriptor, context.tenant, name, context);
}
}
var fire = true;
if (definition) {
fire = adapter.prepareWebhook(definition, context);
if (def) {
fire = adapter.prepareWebhook(def, context);
}

@@ -93,0 +94,0 @@ if (fire) {

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

"description": "Modules for building Atlassian Connect and HipChat Connect add-ons",
"version": "0.2.5",
"version": "0.2.6",
"author": "Atlassian (http://atlassian.com)",

@@ -17,5 +17,6 @@ "license": "Apache 2.0",

"dependencies": {
"ac-node": "^0.2.2",
"ac-node": "^0.2.3",
"check-types": "^1.3.1",
"co": "^3.1.0",
"co-mocha": "0.0.4",
"koa": "^0.8.2",

@@ -22,0 +23,0 @@ "koa-compose": "^2.3.0",

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