Socket
Socket
Sign inDemoInstall

code-block-writer

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-block-writer - npm Package Compare versions

Comparing version 13.0.0 to 13.0.1

4

esm/utils/string_utils.js

@@ -10,7 +10,7 @@ /** @internal */

else if (str[i] === "\r" && str[i + 1] === "\n") {
result += "\\";
result += "\\r\\n\\";
i++; // skip the \r
}
else if (str[i] === "\n") {
result += "\\";
result += "\\n\\";
}

@@ -17,0 +17,0 @@ else if (str[i] === "\\") {

{
"name": "code-block-writer",
"version": "13.0.0",
"version": "13.0.1",
"description": "A simple code writer that assists with formatting and visualizing blocks of code.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -13,7 +13,7 @@ "use strict";

else if (str[i] === "\r" && str[i + 1] === "\n") {
result += "\\";
result += "\\r\\n\\";
i++; // skip the \r
}
else if (str[i] === "\n") {
result += "\\";
result += "\\n\\";
}

@@ -20,0 +20,0 @@ else if (str[i] === "\\") {

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