Skip to content

Commit 0a45034

Browse files
committed
chore(deps): update dependencies
1 parent 55dd798 commit 0a45034

File tree

3 files changed

+679
-679
lines changed

3 files changed

+679
-679
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
"textlintrule"
3434
],
3535
"devDependencies": {
36-
"@textlint/types": "^1.1.5",
37-
"@types/node": "^12.0.12",
36+
"@textlint/types": "^1.2.2",
37+
"@types/node": "^12.11.1",
3838
"textlint-scripts": "^3.0.0-beta.1",
39-
"ts-node": "^8.3.0",
40-
"typescript": "^3.5.2"
39+
"ts-node": "^8.4.1",
40+
"typescript": "^3.6.4"
4141
},
4242
"dependencies": {
4343
"kuromojin": "^2.0.0",
44-
"sentence-splitter": "^3.0.11",
44+
"sentence-splitter": "^3.1.0",
4545
"textlint-rule-helper": "^2.1.1",
46-
"textlint-util-to-string": "^2.1.1"
46+
"textlint-util-to-string": "^3.0.0"
4747
}
4848
}

src/no-doubled-joshi.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ import {
1010
restoreToSurfaceFromKey
1111
} from "./token-utils";
1212
import { TextlintRuleModule, TextlintRuleOptions } from "@textlint/types";
13-
import { TxtNode } from "@textlint/types/lib/ast-node-types/src";
14-
15-
const StringSource = require("textlint-util-to-string");
13+
import { TxtNode } from "@textlint/ast-node-types";
14+
import { StringSource } from "textlint-util-to-string";
1615

1716
/**
1817
* Create token map object
@@ -69,6 +68,7 @@ export interface Options {
6968
allow?: string[];
7069
separatorChars?: string[]
7170
}
71+
7272
/*
7373
1. Paragraph Node -> text
7474
2. text -> sentences
@@ -83,7 +83,7 @@ const report: TextlintRuleModule = function (context, options: TextlintRuleOptio
8383
const minInterval = options.min_interval || defaultOptions.min_interval;
8484
const isStrict = options.strict || defaultOptions.strict;
8585
const allow = options.allow || defaultOptions.allow;
86-
const { Syntax, report, RuleError } = context;
86+
const {Syntax, report, RuleError} = context;
8787
return {
8888
[Syntax.Paragraph](node) {
8989
if (helper.isChildNode(node, [Syntax.Link, Syntax.Image, Syntax.BlockQuote, Syntax.Emphasis])) {

0 commit comments

Comments
 (0)