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

bitbucket-eslint-bot

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitbucket-eslint-bot - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

14

index.js

@@ -49,6 +49,10 @@ const fetch = require("node-fetch");

.then(r => {
if (r.ok) return r.json();
if (r.ok) {
return r.json();
} else {
throw { url: r.url, status: r.status, statusText: r.statusText };
}
})
.then(response => {
if (options.createTask)
if (options.createTask && errors > 0)
return fetch(`${bitbucketUrl}/rest/api/1.0/tasks`, {

@@ -69,3 +73,7 @@ method: "POST",

}).then(r => {
if (r.ok) return r.json();
if (r.ok) {
return r.json();
} else {
throw { url: r.url, status: r.status, statusText: r.statusText };
}
});

@@ -72,0 +80,0 @@ })

{
"name": "bitbucket-eslint-bot",
"version": "1.1.1",
"version": "1.1.2",
"description": "Bot to run on CI to post eslint errors on Bitbucket PRs",

@@ -5,0 +5,0 @@ "main": "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