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

@textlint/kernel

Package Overview
Dependencies
Maintainers
5
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.3.7 to 3.4.0

57

CHANGELOG.md

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

<a name="3.4.0"></a>
# [3.4.0](https://github.com/textlint/textlint/compare/@textlint/kernel@3.3.6...@textlint/kernel@3.4.0) (2021-01-22)
### Bug Fixes
* **@textlint/kernel:** fix [@ts-expect-error](https://github.com/ts-expect-error) issue ([d58d79e](https://github.com/textlint/textlint/commit/d58d79e))
* **deps:** update dependency debug to ^4.2.0 ([6db0ba9](https://github.com/textlint/textlint/commit/6db0ba9))
* **deps:** update dependency debug to ^4.3.0 ([9dea96a](https://github.com/textlint/textlint/commit/9dea96a))
* **textlint:** textlint can't apply adjacent fixes ([#732](https://github.com/textlint/textlint/issues/732)) ([9ce71eb](https://github.com/textlint/textlint/commit/9ce71eb))
* fix tsconfig ([a722a6f](https://github.com/textlint/textlint/commit/a722a6f))
### Chores
* **deps:** update dependency [@types](https://github.com/types)/mocha to v8.0.4 ([fd60f20](https://github.com/textlint/textlint/commit/fd60f20))
* **deps:** update dependency [@types](https://github.com/types)/mocha to v8.2.0 ([5ced72d](https://github.com/textlint/textlint/commit/5ced72d))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.11.2 ([6ac372a](https://github.com/textlint/textlint/commit/6ac372a))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.11.5 ([b0e73f5](https://github.com/textlint/textlint/commit/b0e73f5))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.11.8 ([33679af](https://github.com/textlint/textlint/commit/33679af))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.10 ([96ba315](https://github.com/textlint/textlint/commit/96ba315))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.12 ([f62f2e3](https://github.com/textlint/textlint/commit/f62f2e3))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.13 ([608afd4](https://github.com/textlint/textlint/commit/608afd4))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.14 ([8417f8a](https://github.com/textlint/textlint/commit/8417f8a))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.16 ([7209803](https://github.com/textlint/textlint/commit/7209803))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.17 ([9ec5481](https://github.com/textlint/textlint/commit/9ec5481))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.19 ([bd050c9](https://github.com/textlint/textlint/commit/bd050c9))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.21 ([464d58a](https://github.com/textlint/textlint/commit/464d58a))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.22 ([5e5d214](https://github.com/textlint/textlint/commit/5e5d214))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.5 ([1ed7006](https://github.com/textlint/textlint/commit/1ed7006))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.6 ([507a41b](https://github.com/textlint/textlint/commit/507a41b))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.7 ([64f97eb](https://github.com/textlint/textlint/commit/64f97eb))
* **deps:** update dependency [@types](https://github.com/types)/node to ^14.14.8 ([8de7d16](https://github.com/textlint/textlint/commit/8de7d16))
* **deps:** update minor updates ([7ef0be6](https://github.com/textlint/textlint/commit/7ef0be6))
* **deps:** update minor updates ([2f3dcb6](https://github.com/textlint/textlint/commit/2f3dcb6))
* **deps:** update minor updates ([7a53517](https://github.com/textlint/textlint/commit/7a53517))
* **deps:** update minor updates ([#712](https://github.com/textlint/textlint/issues/712)) ([8c42a19](https://github.com/textlint/textlint/commit/8c42a19))
* **deps:** update patch updates ([24fe2a9](https://github.com/textlint/textlint/commit/24fe2a9))
* **deps:** update patch updates ([3d9660b](https://github.com/textlint/textlint/commit/3d9660b))
* **deps:** update patch updates ([fe2ad4f](https://github.com/textlint/textlint/commit/fe2ad4f))
* **deps:** update patch updates ([e438ff2](https://github.com/textlint/textlint/commit/e438ff2))
* **deps:** update patch updates ([9df50df](https://github.com/textlint/textlint/commit/9df50df))
* **deps:** update patch updates ([4f4c206](https://github.com/textlint/textlint/commit/4f4c206))
* **deps:** update patch updates ([1a0e41f](https://github.com/textlint/textlint/commit/1a0e41f))
* **deps:** update patch updates ([9157dda](https://github.com/textlint/textlint/commit/9157dda))
* **deps:** update TypeScript deps ([#705](https://github.com/textlint/textlint/issues/705)) ([1baa72a](https://github.com/textlint/textlint/commit/1baa72a))
* use [@monorepo-utils](https://github.com/monorepo-utils)/workspaces-to-typescript-project-references ([#699](https://github.com/textlint/textlint/issues/699)) ([eff1943](https://github.com/textlint/textlint/commit/eff1943))
### Features
* **source-code-fixer:** add `[@textlint](https://github.com/textlint)/source-code-fixer` ([#736](https://github.com/textlint/textlint/issues/736)) ([bf7235a](https://github.com/textlint/textlint/commit/bf7235a))
<a name="3.3.7"></a>

@@ -8,0 +65,0 @@ ## [3.3.7](https://github.com/textlint/textlint/compare/@textlint/kernel@3.3.6...@textlint/kernel@3.3.7) (2020-12-22)

4

lib/fixer/fixer-processor.js

@@ -28,3 +28,2 @@ // LICENSE : MIT

var fixer_task_1 = __importDefault(require("../task/fixer-task"));
var source_code_fixer_1 = __importDefault(require("./source-code-fixer"));
var task_runner_1 = __importDefault(require("../task/task-runner"));

@@ -34,2 +33,3 @@ var TextlintSourceCodeImpl_1 = require("../context/TextlintSourceCodeImpl");

var debug_1 = __importDefault(require("debug"));
var source_code_fixer_1 = require("@textlint/source-code-fixer");
var debug = debug_1.default("textlint:fixer-processor");

@@ -99,3 +99,3 @@ var FixerProcessor = /** @class */ (function () {

resultFilePath = filteredResult.filePath;
var applied = source_code_fixer_1.default.applyFixes(newSourceCode, filteredResult.messages);
var applied = source_code_fixer_1.applyFixesToSourceCode(newSourceCode, filteredResult.messages);
// add messages

@@ -102,0 +102,0 @@ Array.prototype.push.apply(applyingMessages, applied.applyingMessages);

@@ -16,4 +16,4 @@ import { TextlintKernelConstructorOptions, TextlintKernelOptions } from "./textlint-kernel-interface";

export declare class TextlintKernel {
private config;
private messageProcessManager;
private readonly config;
private readonly messageProcessManager;
/**

@@ -20,0 +20,0 @@ * @param config

@@ -1,2 +0,1 @@

// MIT © 2017 azu
"use strict";

@@ -27,2 +26,3 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {

exports.TextlintKernel = void 0;
// MIT © 2017- azu
var assert = __importStar(require("assert"));

@@ -29,0 +29,0 @@ // sequence

@@ -5,3 +5,2 @@ // LICENSE : MIT

import FixerTask from "../task/fixer-task";
import SourceCodeFixer from "./source-code-fixer";
import TaskRunner from "../task/task-runner";

@@ -11,2 +10,3 @@ import { TextlintSourceCodeImpl } from "../context/TextlintSourceCodeImpl";

import _debug from "debug";
import { applyFixesToSourceCode } from "@textlint/source-code-fixer";
var debug = _debug("textlint:fixer-processor");

@@ -76,3 +76,3 @@ var FixerProcessor = /** @class */ (function () {

resultFilePath = filteredResult.filePath;
var applied = SourceCodeFixer.applyFixes(newSourceCode, filteredResult.messages);
var applied = applyFixesToSourceCode(newSourceCode, filteredResult.messages);
// add messages

@@ -79,0 +79,0 @@ Array.prototype.push.apply(applyingMessages, applied.applyingMessages);

@@ -16,4 +16,4 @@ import { TextlintKernelConstructorOptions, TextlintKernelOptions } from "./textlint-kernel-interface";

export declare class TextlintKernel {
private config;
private messageProcessManager;
private readonly config;
private readonly messageProcessManager;
/**

@@ -20,0 +20,0 @@ * @param config

@@ -1,3 +0,2 @@

// MIT © 2017 azu
"use strict";
// MIT © 2017- azu
import * as assert from "assert";

@@ -4,0 +3,0 @@ // sequence

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

@@ -38,8 +38,9 @@ "keywords": [

"dependencies": {
"@textlint/ast-node-types": "^4.3.5",
"@textlint/ast-tester": "^2.2.5",
"@textlint/ast-traverse": "^2.2.6",
"@textlint/feature-flag": "^3.2.5",
"@textlint/types": "^1.4.6",
"@textlint/utils": "^1.1.5",
"@textlint/ast-node-types": "^4.4.0",
"@textlint/ast-tester": "^2.3.0",
"@textlint/ast-traverse": "^2.3.0",
"@textlint/feature-flag": "^3.3.0",
"@textlint/source-code-fixer": "^3.4.0",
"@textlint/types": "^1.5.0",
"@textlint/utils": "^1.2.0",
"debug": "^4.3.1",

@@ -51,7 +52,7 @@ "deep-equal": "^1.1.1",

"devDependencies": {
"@textlint/markdown-to-ast": "^6.2.6",
"@textlint/markdown-to-ast": "^6.3.0",
"@types/debug": "^4.1.5",
"@types/deep-equal": "^1.0.1",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"@types/node": "^14.14.22",
"@types/structured-source": "^3.0.0",

@@ -68,3 +69,3 @@ "cpx": "^1.5.0",

},
"gitHead": "281c00764dde530cf6fd42d0858111594fdf34af"
"gitHead": "6277ea4811d52357721127eca260dfa95997d19d"
}

@@ -7,3 +7,2 @@ // LICENSE : MIT

import FixerTask from "../task/fixer-task";
import SourceCodeFixer from "./source-code-fixer";
import TaskRunner from "../task/task-runner";

@@ -16,2 +15,3 @@ import { TextlintKernelConstructorOptions } from "../textlint-kernel-interface";

import _debug from "debug";
import { applyFixesToSourceCode } from "@textlint/source-code-fixer";

@@ -100,3 +100,3 @@ const debug = _debug("textlint:fixer-processor");

resultFilePath = filteredResult.filePath;
const applied = SourceCodeFixer.applyFixes(newSourceCode, filteredResult.messages);
const applied = applyFixesToSourceCode(newSourceCode, filteredResult.messages);
// add messages

@@ -103,0 +103,0 @@ Array.prototype.push.apply(applyingMessages, applied.applyingMessages);

@@ -1,3 +0,2 @@

// MIT © 2017 azu
"use strict";
// MIT © 2017- azu
import * as assert from "assert";

@@ -50,4 +49,4 @@ // sequence

export class TextlintKernel {
private config: TextlintKernelConstructorOptions;
private messageProcessManager: MessageProcessManager;
private readonly config: TextlintKernelConstructorOptions;
private readonly messageProcessManager: MessageProcessManager;

@@ -54,0 +53,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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