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

ci-slack-reporter

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ci-slack-reporter - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

6

index.js

@@ -29,6 +29,6 @@ // my-reporter.js

const res = [];
while (obj.attachments.blocks.length != 0) {
while (obj.attachments[0].blocks.length != 0) {
const deepClone = JSON.parse(JSON.stringify(obj))
deepClone.attachments.blocks = deepClone.attachments.blocks.slice(0, SLACK_BLOCKS_LIMIT);
ob.attachments.blocks.splice(0, SLACK_BLOCKS_LIMIT);
deepClone.attachments[0].blocks = deepClone.attachments[0].blocks.slice(0, SLACK_BLOCKS_LIMIT);
ob.attachments[0].blocks.splice(0, SLACK_BLOCKS_LIMIT);
res.push(deepClone);

@@ -35,0 +35,0 @@ }

{
"name": "ci-slack-reporter",
"version": "1.0.12",
"version": "1.0.13",
"description": "Mocha/Cypress reporter to post tests results directly to Slack",

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