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

code-block-writer

Package Overview
Dependencies
Maintainers
1
Versions
86
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 9.1.0 to 9.1.1

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Changelog

### [9.1.1](https://github.com/dsherret/code-block-writer/compare/v9.1.0...v9.1.1) (2019-05-10)
### Bug Fixes
* Fix queued indentation so it is only dequeued after a newline. ([9f3298d](https://github.com/dsherret/code-block-writer/commit/9f3298d))
## [9.1.0](https://github.com/dsherret/code-block-writer/compare/v9.0.0...v9.1.0) (2019-05-10)

@@ -7,0 +16,0 @@

5

dist/code-block-writer.js

@@ -394,4 +394,6 @@ "use strict";

items.forEach((s, i) => {
if (i > 0)
if (i > 0) {
this._baseWriteNewline();
this.dequeueQueuedIndentation();
}
if (s.length === 0)

@@ -409,3 +411,2 @@ return;

writer._internalWrite(s);
writer.dequeueQueuedIndentation();
}

@@ -412,0 +413,0 @@ }

2

package.json
{
"name": "code-block-writer",
"version": "9.1.0",
"version": "9.1.1",
"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