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

concurix-instrument

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

concurix-instrument - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

15

function_trace.js

@@ -67,2 +67,15 @@ "use strict";

// Return blocks with comma operators are evil.
// If we see them attempt to wrap the SequenceExpression with parens
if (node.argument && node.argument.type == "SequenceExpression") {
proxy = proxy + "("
var endParen = actualEnd
// Semicolon check.
if (content.slice(actualEnd - 1, actualEnd) === ";") {
endParen--
}
insertions.push({pos: endParen, insertion: ")", pri: 2})
actualEnd++
}
if (parent.type != "BlockStatement") {

@@ -75,3 +88,3 @@ // If not in a BlockStatement, need to put it in one.

insertions.push({pos: node.range[0], remove: toRemove.length, insertion: proxy, pri: 1})
insertions.push({pos: actualEnd, insertion: preserveIndent + exitInsert + preserveIndent + reply, pri: 2})
insertions.push({pos: actualEnd, insertion: preserveIndent + exitInsert + preserveIndent + reply, pri: 3})
}

@@ -78,0 +91,0 @@ else {

2

package.json
{
"name": "concurix-instrument",
"version": "1.4.0",
"version": "1.5.0",
"description": "Apply Concurix tracing instrumentation to client code.",

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