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.0.0 to 1.0.1

.npmignore

22

index.js

@@ -35,3 +35,3 @@ const fetch = require('node-fetch');

body: JSON.stringify({
text: `[eslint] This PR contains ${errors} lint ${errorPlural}`
text: `[eslint] This PR contains ${errors} lint ${errorPlural}`,
}),

@@ -41,6 +41,5 @@ credentials: 'include',

Authorization: encodeAuthorization(options),
'Content-Type': 'application/json'
}
'Content-Type': 'application/json',
},
})
.then(console.log)
.catch(console.log);

@@ -60,3 +59,3 @@ };

fileType: 'TO',
path: file.filePath.split(process.cwd())[1]
path: file.filePath.split(process.cwd())[1],
});

@@ -74,4 +73,4 @@ return;

fileType: 'TO',
path: file.filePath.split(process.cwd())[1]
}
path: file.filePath.split(process.cwd())[1],
},
}),

@@ -81,6 +80,5 @@ credentials: 'include',

Authorization: encodeAuthorization(options),
'Content-Type': 'application/json'
}
'Content-Type': 'application/json',
},
})
.then(console.log)
.catch(console.log);

@@ -104,3 +102,3 @@ });

repository = process.env.BITBUCKET_REPOSITORY,
user = process.env.BITBUCKET_USER
user = process.env.BITBUCKET_USER,
} = {}

@@ -125,3 +123,3 @@ ) {

repository,
user
user,
});

@@ -128,0 +126,0 @@

{
"name": "bitbucket-eslint-bot",
"version": "1.0.0",
"version": "1.0.1",
"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