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

jira-precommit-hook

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jira-precommit-hook - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

lib/issue-strategies/not-allowed.js

17

lib/issue-strategies/index.js

@@ -13,10 +13,2 @@ 'use strict';

var _initiativeJs = require('./initiative.js');
var initStrat = _interopRequireWildcard(_initiativeJs);
var _epicJs = require('./epic.js');
var epicStrat = _interopRequireWildcard(_epicJs);
var _storyJs = require('./story.js');

@@ -26,17 +18,14 @@

var _taskJs = require('./task.js');
var _notAllowedJs = require('./not-allowed.js');
var taskStrat = _interopRequireWildcard(_taskJs);
var notAllowedStrat = _interopRequireWildcard(_notAllowedJs);
exports['default'] = {
Initiative: initStrat,
Epic: epicStrat,
Story: storyStrat,
'Sub-task': storyStrat,
'Maintenance Task': bugMtStrat,
'Deployment Task': bugMtStrat,
'Feature Defect': storyStrat,
Bug: bugMtStrat,
Task: taskStrat
Unknown: notAllowedStrat
};
module.exports = exports['default'];
'use strict';
var _Promise = require('babel-runtime/core-js/promise')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-default')['default'];

@@ -25,3 +23,3 @@

if (!_issueStrategiesIndexJs2['default'][content.fields.issuetype.name]) {
return _Promise.reject(new Error(issueKey + ' does not have a valid issuetype'));
return _issueStrategiesIndexJs2['default'].Unknown.apply(content, jiraClientAPI);
}

@@ -28,0 +26,0 @@

{
"name": "jira-precommit-hook",
"version": "1.1.3",
"version": "1.2.0",
"description": "Git commit hook to verify commit messages are tagged with a JIRA issue number",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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