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 6.10.0 to 6.10.1

15

CHANGELOG.md

@@ -5,2 +5,17 @@ # Change Log

<a name="6.11.0"></a>
# [6.11.0](https://github.com/dsherret/code-block-writer/compare/v6.9.0...v6.11.0) (2018-04-04)
### Bug Fixes
* Remove warning for now. ([ee36fac](https://github.com/dsherret/code-block-writer/commit/ee36fac))
### Features
* Deprecate all XIfLastNotX methods to XIfLastNot. ([d6c31f1](https://github.com/dsherret/code-block-writer/commit/d6c31f1))
<a name="6.10.0"></a>

@@ -7,0 +22,0 @@ # [6.10.0](https://github.com/dsherret/code-block-writer/compare/v6.9.0...v6.10.0) (2018-04-03)

3

dist/code-block-writer.js

@@ -102,3 +102,2 @@ "use strict";

CodeBlockWriter.prototype.newLineIfLastNotNewLine = function () {
console.warn("newLineIfLastNotNewLine() is deprecated. Use newLineIfLastNot() instead.");
return this.newLineIfLastNot();

@@ -120,3 +119,2 @@ };

CodeBlockWriter.prototype.blankLineIfLastNotBlankLine = function () {
console.warn("blankLineIfLastNotBlankLine() is deprecated. Use blankLineIfLastNot() instead.");
return this.blankLineIfLastNot();

@@ -181,3 +179,2 @@ };

CodeBlockWriter.prototype.spaceIfLastNotSpace = function () {
console.warn("spaceIfLastNotSpace() is deprecated. Use spaceIfLastNot() instead.");
return this.spaceIfLastNot();

@@ -184,0 +181,0 @@ };

{
"name": "code-block-writer",
"version": "6.10.0",
"version": "6.10.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",

@@ -144,3 +144,2 @@ import {stringRepeat, escapeForWithinString} from "./utils/stringUtils";

newLineIfLastNotNewLine() {
console.warn(`newLineIfLastNotNewLine() is deprecated. Use newLineIfLastNot() instead.`);
return this.newLineIfLastNot();

@@ -166,3 +165,2 @@ }

blankLineIfLastNotBlankLine() {
console.warn(`blankLineIfLastNotBlankLine() is deprecated. Use blankLineIfLastNot() instead.`);
return this.blankLineIfLastNot();

@@ -244,3 +242,2 @@ }

spaceIfLastNotSpace() {
console.warn(`spaceIfLastNotSpace() is deprecated. Use spaceIfLastNot() instead.`);
return this.spaceIfLastNot();

@@ -247,0 +244,0 @@ }

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