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

@textlint/kernel

Package Overview
Dependencies
Maintainers
2
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 2.0.1 to 2.0.2

lib/ast-node-types/src/index.d.ts

12

CHANGELOG.md

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

<a name="2.0.2"></a>
## [2.0.2](https://github.com/textlint/textlint/compare/@textlint/kernel@2.0.1...@textlint/kernel@2.0.2) (2017-12-25)
### Bug Fixes
* **kernel:** fix import path ([02d98fe](https://github.com/textlint/textlint/commit/02d98fe))
* **monorepo:** fix TypeScript module resolution in monorepo ([d5df499](https://github.com/textlint/textlint/commit/d5df499))
<a name="2.0.1"></a>

@@ -8,0 +20,0 @@ ## [2.0.1](https://github.com/textlint/textlint/compare/@textlint/kernel@2.0.0...@textlint/kernel@2.0.1) (2017-12-19)

3

lib/kernel/src/core/BaseRuleContext.d.ts

@@ -1,4 +0,3 @@

import { ASTNodeTypes } from "@textlint/ast-node-types";
import { ASTNodeTypes, TxtNode } from "@textlint/ast-node-types";
import RuleError from "./rule-error";
import { TxtNode } from "../../../ast-node-types/src/TextLintASTNodeTypes";
export declare abstract class BaseRuleContext {

@@ -5,0 +4,0 @@ readonly abstract id: string;

@@ -9,1 +9,2 @@ "use strict";

exports.BaseRuleContext = BaseRuleContext;
//# sourceMappingURL=BaseRuleContext.js.map

@@ -107,1 +107,2 @@ // LICENSE : MIT

exports.default = FilterRuleContext;
//# sourceMappingURL=filter-rule-context.js.map

@@ -122,1 +122,2 @@ // LICENSE : MIT

exports.default = RuleContext;
//# sourceMappingURL=rule-context.js.map

@@ -105,1 +105,2 @@ // LICENSE : MIT

exports.getFilter = getFilter;
//# sourceMappingURL=rule-creator-helper.js.map

@@ -53,1 +53,2 @@ // LICENSE : MIT

exports.default = RuleError;
//# sourceMappingURL=rule-error.js.map

@@ -115,1 +115,2 @@ "use strict";

exports.default = SourceCode;
//# sourceMappingURL=source-code.js.map

@@ -156,1 +156,2 @@ // LICENSE : MIT

exports.default = SourceLocation;
//# sourceMappingURL=source-location.js.map

@@ -109,1 +109,2 @@ // LICENSE : MIT

exports.default = FixerProcessor;
//# sourceMappingURL=fixer-processor.js.map

@@ -148,1 +148,2 @@ "use strict";

exports.default = RuleFixer;
//# sourceMappingURL=rule-fixer.js.map

@@ -144,1 +144,2 @@ "use strict";

exports.default = SourceCodeFixer;
//# sourceMappingURL=source-code-fixer.js.map

@@ -11,1 +11,2 @@ "use strict";

exports.TextlintPluginProcessor = textlint_kernel_interface_1.TextlintPluginProcessor;
//# sourceMappingURL=index.js.map

@@ -51,1 +51,2 @@ // LICENSE : MIT

exports.default = LinterProcessor;
//# sourceMappingURL=linter-processor.js.map

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

exports.default = filterDuplicatedMessages;
//# sourceMappingURL=filter-duplicated-process.js.map

@@ -44,1 +44,2 @@ // LICENSE : MIT

exports.default = filterMessages;
//# sourceMappingURL=filter-ignored-process.js.map

@@ -41,1 +41,2 @@ // LICENSE : MIT

exports.default = createSeverityFilter;
//# sourceMappingURL=filter-severity-process.js.map

@@ -44,1 +44,2 @@ // LICENSE : MIT

exports.default = MessageProcessManager;
//# sourceMappingURL=MessageProcessManager.js.map

@@ -22,1 +22,2 @@ // LICENSE : MIT

exports.default = sortByLineColumn;
//# sourceMappingURL=sort-messages-process.js.map

@@ -26,1 +26,2 @@ // LICENSE : MIT

exports.getSeverity = getSeverity;
//# sourceMappingURL=rule-severity.js.map

@@ -14,1 +14,2 @@ "use strict";

};
//# sourceMappingURL=MessageType.js.map

@@ -15,1 +15,2 @@ // LICENSE : MIT

exports.default = SeverityLevel;
//# sourceMappingURL=SeverityLevel.js.map

@@ -76,1 +76,2 @@ // LICENSE : MIT

exports.default = TextLintCoreTask;
//# sourceMappingURL=fixer-task.js.map

@@ -82,1 +82,2 @@ // LICENSE : MIT

exports.default = TextLintCoreTask;
//# sourceMappingURL=linter-task.js.map

@@ -33,1 +33,2 @@ // MIT © 2017 azu

exports.PromiseEventEmitter = PromiseEventEmitter;
//# sourceMappingURL=promise-event-emitter.js.map

@@ -32,1 +32,2 @@ // LICENSE : MIT

exports.default = TaskRunner;
//# sourceMappingURL=task-runner.js.map

@@ -81,44 +81,3 @@ /// <reference types="node" />

tryToGetRuleObject(ruleCreator: RuleCreatorReporter, ruleContext: RuleContext, ruleOptions?: TextlintRuleOptions): {
padStart?: ((node: TxtNode) => void | Promise<any>) | undefined;
padEnd?: ((node: TxtNode) => void | Promise<any>) | undefined;
toString?: ((node: TxtNode) => void | Promise<any>) | undefined;
charAt?: ((node: TxtNode) => void | Promise<any>) | undefined;
charCodeAt?: ((node: TxtNode) => void | Promise<any>) | undefined;
concat?: ((node: TxtNode) => void | Promise<any>) | undefined;
indexOf?: ((node: TxtNode) => void | Promise<any>) | undefined;
lastIndexOf?: ((node: TxtNode) => void | Promise<any>) | undefined;
localeCompare?: ((node: TxtNode) => void | Promise<any>) | undefined;
match?: ((node: TxtNode) => void | Promise<any>) | undefined;
replace?: ((node: TxtNode) => void | Promise<any>) | undefined;
search?: ((node: TxtNode) => void | Promise<any>) | undefined;
slice?: ((node: TxtNode) => void | Promise<any>) | undefined;
split?: ((node: TxtNode) => void | Promise<any>) | undefined;
substring?: ((node: TxtNode) => void | Promise<any>) | undefined;
toLowerCase?: ((node: TxtNode) => void | Promise<any>) | undefined;
toLocaleLowerCase?: ((node: TxtNode) => void | Promise<any>) | undefined;
toUpperCase?: ((node: TxtNode) => void | Promise<any>) | undefined;
toLocaleUpperCase?: ((node: TxtNode) => void | Promise<any>) | undefined;
trim?: ((node: TxtNode) => void | Promise<any>) | undefined;
readonly length?: ((node: TxtNode) => void | Promise<any>) | undefined;
substr?: ((node: TxtNode) => void | Promise<any>) | undefined;
valueOf?: ((node: TxtNode) => void | Promise<any>) | undefined;
codePointAt?: ((node: TxtNode) => void | Promise<any>) | undefined;
includes?: ((node: TxtNode) => void | Promise<any>) | undefined;
endsWith?: ((node: TxtNode) => void | Promise<any>) | undefined;
normalize?: ((node: TxtNode) => void | Promise<any>) | undefined;
repeat?: ((node: TxtNode) => void | Promise<any>) | undefined;
startsWith?: ((node: TxtNode) => void | Promise<any>) | undefined;
anchor?: ((node: TxtNode) => void | Promise<any>) | undefined;
big?: ((node: TxtNode) => void | Promise<any>) | undefined;
blink?: ((node: TxtNode) => void | Promise<any>) | undefined;
bold?: ((node: TxtNode) => void | Promise<any>) | undefined;
fixed?: ((node: TxtNode) => void | Promise<any>) | undefined;
fontcolor?: ((node: TxtNode) => void | Promise<any>) | undefined;
fontsize?: ((node: TxtNode) => void | Promise<any>) | undefined;
italics?: ((node: TxtNode) => void | Promise<any>) | undefined;
link?: ((node: TxtNode) => void | Promise<any>) | undefined;
small?: ((node: TxtNode) => void | Promise<any>) | undefined;
strike?: ((node: TxtNode) => void | Promise<any>) | undefined;
sub?: ((node: TxtNode) => void | Promise<any>) | undefined;
sup?: ((node: TxtNode) => void | Promise<any>) | undefined;
[x: string]: ((node: TxtNode) => void | Promise<any>) | undefined;
};

@@ -129,44 +88,3 @@ /**

tryToGetFilterRuleObject(ruleCreator: TextlintFilterRuleCreator, ruleContext: FilterRuleContext, ruleOptions?: TextlintFilterRuleOptions): {
padStart?: ((node: TxtNode) => void | Promise<any>) | undefined;
padEnd?: ((node: TxtNode) => void | Promise<any>) | undefined;
toString?: ((node: TxtNode) => void | Promise<any>) | undefined;
charAt?: ((node: TxtNode) => void | Promise<any>) | undefined;
charCodeAt?: ((node: TxtNode) => void | Promise<any>) | undefined;
concat?: ((node: TxtNode) => void | Promise<any>) | undefined;
indexOf?: ((node: TxtNode) => void | Promise<any>) | undefined;
lastIndexOf?: ((node: TxtNode) => void | Promise<any>) | undefined;
localeCompare?: ((node: TxtNode) => void | Promise<any>) | undefined;
match?: ((node: TxtNode) => void | Promise<any>) | undefined;
replace?: ((node: TxtNode) => void | Promise<any>) | undefined;
search?: ((node: TxtNode) => void | Promise<any>) | undefined;
slice?: ((node: TxtNode) => void | Promise<any>) | undefined;
split?: ((node: TxtNode) => void | Promise<any>) | undefined;
substring?: ((node: TxtNode) => void | Promise<any>) | undefined;
toLowerCase?: ((node: TxtNode) => void | Promise<any>) | undefined;
toLocaleLowerCase?: ((node: TxtNode) => void | Promise<any>) | undefined;
toUpperCase?: ((node: TxtNode) => void | Promise<any>) | undefined;
toLocaleUpperCase?: ((node: TxtNode) => void | Promise<any>) | undefined;
trim?: ((node: TxtNode) => void | Promise<any>) | undefined;
readonly length?: ((node: TxtNode) => void | Promise<any>) | undefined;
substr?: ((node: TxtNode) => void | Promise<any>) | undefined;
valueOf?: ((node: TxtNode) => void | Promise<any>) | undefined;
codePointAt?: ((node: TxtNode) => void | Promise<any>) | undefined;
includes?: ((node: TxtNode) => void | Promise<any>) | undefined;
endsWith?: ((node: TxtNode) => void | Promise<any>) | undefined;
normalize?: ((node: TxtNode) => void | Promise<any>) | undefined;
repeat?: ((node: TxtNode) => void | Promise<any>) | undefined;
startsWith?: ((node: TxtNode) => void | Promise<any>) | undefined;
anchor?: ((node: TxtNode) => void | Promise<any>) | undefined;
big?: ((node: TxtNode) => void | Promise<any>) | undefined;
blink?: ((node: TxtNode) => void | Promise<any>) | undefined;
bold?: ((node: TxtNode) => void | Promise<any>) | undefined;
fixed?: ((node: TxtNode) => void | Promise<any>) | undefined;
fontcolor?: ((node: TxtNode) => void | Promise<any>) | undefined;
fontsize?: ((node: TxtNode) => void | Promise<any>) | undefined;
italics?: ((node: TxtNode) => void | Promise<any>) | undefined;
link?: ((node: TxtNode) => void | Promise<any>) | undefined;
small?: ((node: TxtNode) => void | Promise<any>) | undefined;
strike?: ((node: TxtNode) => void | Promise<any>) | undefined;
sub?: ((node: TxtNode) => void | Promise<any>) | undefined;
sup?: ((node: TxtNode) => void | Promise<any>) | undefined;
[x: string]: ((node: TxtNode) => void | Promise<any>) | undefined;
};

@@ -173,0 +91,0 @@ /**

@@ -191,1 +191,2 @@ // LICENSE : MIT

exports.default = TextLintCoreTask;
//# sourceMappingURL=textlint-core-task.js.map

@@ -9,3 +9,3 @@ import { TxtNode, TxtNodeType } from "@textlint/ast-node-types";

export declare type RuleCreatorReporter = (context: RuleContext, options?: TextlintRuleOptions) => {
[P in keyof TxtNodeType]?: (node: TxtNode) => void | Promise<any>;
[P in TxtNodeType]?: (node: TxtNode) => void | Promise<any>;
};

@@ -21,3 +21,3 @@ /**

export declare type TextlintFilterRuleCreator = (context: FilterRuleContext, options?: TextlintFilterRuleOptions) => {
[P in keyof TxtNodeType]?: (node: TxtNode) => void | Promise<any>;
[P in TxtNodeType]?: (node: TxtNode) => void | Promise<any>;
};

@@ -24,0 +24,0 @@ /**

@@ -16,1 +16,2 @@ "use strict";

exports.TextlintMessage = TextlintMessage;
//# sourceMappingURL=textlint-kernel-interface.js.map

@@ -209,1 +209,2 @@ // MIT © 2017 azu

exports.TextlintKernel = TextlintKernel;
//# sourceMappingURL=textlint-kernel.js.map

@@ -37,1 +37,2 @@ // LICENSE : MIT

exports.default = Logger;
//# sourceMappingURL=logger.js.map

@@ -25,1 +25,2 @@ // LICENSE : MIT

exports.getProcessorMatchExtension = getProcessorMatchExtension;
//# sourceMappingURL=proccesor-helper.js.map

@@ -117,1 +117,2 @@ /**

})();
//# sourceMappingURL=timing.js.map

@@ -13,8 +13,8 @@ {

"name": "@textlint/kernel",
"version": "2.0.1",
"version": "2.0.2",
"description": "textlint kernel is core logic by pure JavaScript.",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"main": "lib/kernel/src/index.js",
"typings": "lib/kernel/src/index.d.ts",
"scripts": {
"test": "mocha test",
"test": "mocha \"test/**/*.{js,ts}\"",
"clean": "rimraf out/ lib/ es_modules/",

@@ -41,8 +41,8 @@ "build": "npm-run-all build:src",

"cross-env": "^5.0.5",
"markdown-to-ast": "^6.0.0",
"mocha": "^3.5.3",
"markdown-to-ast": "^6.0.1",
"mocha": "^4.0.1",
"npm-run-all": "^4.1.1",
"rimraf": "^2.6.2",
"shelljs": "^0.7.7",
"textlint-plugin-markdown": "^4.0.1",
"textlint-plugin-markdown": "^4.0.2",
"ts-node": "^3.3.0",

@@ -52,4 +52,4 @@ "typescript": "~2.6.1"

"dependencies": {
"@textlint/ast-node-types": "^3.0.0",
"@textlint/feature-flag": "^3.0.0",
"@textlint/ast-node-types": "^3.0.1",
"@textlint/feature-flag": "^3.0.1",
"@types/bluebird": "^3.5.18",

@@ -61,4 +61,4 @@ "bluebird": "^3.5.1",

"structured-source": "^3.0.2",
"txt-ast-traverse": "^2.0.0"
"txt-ast-traverse": "^2.0.1"
}
}
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