@zaneray/bitbucket
Advanced tools
Comparing version 1.3.4 to 1.3.5-2
@@ -1,3 +0,3 @@ | ||
class Bitbucket { | ||
#url = "https://api.bitbucket.org/2.0"; | ||
class Jira { | ||
#url = "https://zaneray.atlassian.net/rest/api/3"; | ||
//conforming to HTTP Basic Auth credentials (base64 encoded `username:password`) | ||
@@ -100,2 +100,2 @@ #key; | ||
} | ||
module.exports = Bitbucket; | ||
module.exports = Jira; |
{ | ||
"name": "@zaneray/bitbucket", | ||
"version": "1.3.4", | ||
"version": "1.3.5-2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -1,3 +0,10 @@ | ||
const deploy = require('../lib/deploy'); | ||
const env = require('@zaneray/node-env'); | ||
const JIRA_API_KEY = env.get('JIRA_API_KEY'); | ||
const Jira = require('../lib/index.js'); | ||
const jira = new Jira(JIRA_API_KEY); | ||
module.exports = {deploy}; | ||
async function testProjects() { | ||
let projects = await jira.get('/project'); | ||
console.log(projects); | ||
} | ||
testProjects(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
0
4182
6
106
2