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

feedback-to-gitlab

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

feedback-to-gitlab - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

15

index.js

@@ -50,2 +50,3 @@ module.exports = feedback

filepath += filename
var content = req.body.img.replace(/^data:([A-Za-z-+\/]+);base64,/, '')

@@ -55,2 +56,8 @@ var screenshotUrl = options.url + '/' + options.store.repository.slug + '/raw/' + options.store.branch + '/' + filepath

res.json({
result: 'OK'
})
next(null)
gitlab.issues.create(options.repository.id, issue, function (data) {

@@ -64,3 +71,3 @@ var issueId = data.iid

encoding: 'base64',
content: req.body.img.replace(/^data:([A-Za-z-+\/]+);base64,/, ''),
content: content,
commit_message: 'Screenshot for Issue #' + issueId

@@ -71,8 +78,2 @@ }, function (data) {

})
res.json({
result: 'OK'
})
next(null)
}

@@ -79,0 +80,0 @@

{
"name": "feedback-to-gitlab",
"version": "1.0.0",
"version": "1.0.1",
"description": "Express middleware to generate Gitlab issues from visual user feedback",

@@ -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