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 2.0.4 to 2.0.5

5

code-block-writer.d.ts
export default class CodeBlockWriter {
private _currentIndentation;
private _text;
private _numberSpaces;
private _lastWasNewLine;
constructor(opts?: { newLine: string });

@@ -15,3 +11,2 @@ block(block: () => void): CodeBlockWriter;

toString(): string;
private _getCurrentIndentationNumberSpaces();
}

2

package.json
{
"name": "code-block-writer",
"version": "2.0.4",
"version": "2.0.5",
"description": "A simple code writer that assists with formatting and visualizing blocks of code.",

@@ -5,0 +5,0 @@ "main": "dist/code-block-writer.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