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

@textlint/kernel

Package Overview
Dependencies
Maintainers
3
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint/kernel - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="3.0.1"></a>
## [3.0.1](https://github.com/textlint/textlint/compare/@textlint/kernel@3.0.0...@textlint/kernel@3.0.1) (2018-12-24)
### Bug Fixes
* **kernel:** fix applyFix order on Node.js 11 ([714a90c](https://github.com/textlint/textlint/commit/714a90c))
<a name="3.0.0"></a>

@@ -8,0 +19,0 @@ # [3.0.0](https://github.com/textlint/textlint/compare/@textlint/kernel@2.0.9...@textlint/kernel@3.0.0) (2018-07-22)

7

lib/kernel/src/fixer/source-code-fixer.js

@@ -62,8 +62,3 @@ "use strict";

fixes.sort(function (a, b) {
if (a.fix.range[1] <= b.fix.range[0]) {
return 1;
}
else {
return -1;
}
return b.fix.range[1] - a.fix.range[1] || b.fix.range[0] - a.fix.range[0];
});

@@ -70,0 +65,0 @@ // split into array of characters for easier manipulation

{
"name": "@textlint/kernel",
"version": "3.0.0",
"version": "3.0.1",
"description": "textlint kernel is core logic by pure JavaScript.",

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

@@ -70,7 +70,3 @@ import { TextlintFixCommand, TextlintMessage } from "../textlint-kernel-interface";

fixes.sort((a: TextLintMessageFixable, b: TextLintMessageFixable) => {
if (a.fix.range[1] <= b.fix.range[0]) {
return 1;
} else {
return -1;
}
return b.fix.range[1] - a.fix.range[1] || b.fix.range[0] - a.fix.range[0];
});

@@ -77,0 +73,0 @@

Sorry, the diff of this file is not supported yet

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