@textlint/ast-tester
Advanced tools
Comparing version 2.1.6 to 2.2.0
@@ -6,2 +6,24 @@ # Change Log | ||
<a name="2.2.0"></a> | ||
# [2.2.0](https://github.com/textlint/textlint/compare/@textlint/ast-tester@2.1.6...@textlint/ast-tester@2.2.0) (2020-07-24) | ||
### Chores | ||
* **deps:** update devDepencies ([#667](https://github.com/textlint/textlint/issues/667)) ([0503af6](https://github.com/textlint/textlint/commit/0503af6)) | ||
### Code Refactoring | ||
* **typescript:** Use TypeScript Project References ([#668](https://github.com/textlint/textlint/issues/668)) ([bbffd43](https://github.com/textlint/textlint/commit/bbffd43)) | ||
### Tests | ||
* migrate mocha.opts to .mocharc.json ([#682](https://github.com/textlint/textlint/issues/682)) ([332ae5e](https://github.com/textlint/textlint/commit/332ae5e)) | ||
<a name="2.1.6"></a> | ||
@@ -8,0 +30,0 @@ ## [2.1.6](https://github.com/textlint/textlint/compare/@textlint/ast-tester@2.1.5...@textlint/ast-tester@2.1.6) (2019-10-14) |
{ | ||
"name": "@textlint/ast-tester", | ||
"version": "2.1.6", | ||
"version": "2.2.0", | ||
"description": "Compliance tests for textlint's AST(Abstract Syntax Tree).", | ||
@@ -22,30 +22,33 @@ "keywords": [ | ||
"author": "azu", | ||
"files": [ | ||
"src/", | ||
"lib/" | ||
], | ||
"main": "lib/ast-tester/src/index.js", | ||
"types": "lib/ast-tester/src/index.d.ts", | ||
"main": "lib/index.js", | ||
"module": "./module/index.js", | ||
"types": "lib/index.d.ts", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"files": [ | ||
"bin/", | ||
"lib/", | ||
"modules/", | ||
"src/" | ||
], | ||
"scripts": { | ||
"build": "cross-env NODE_ENV=production tsc -p .", | ||
"clean": "rimraf lib/", | ||
"build": "tsc -b && tsc -b tsconfig.module.json", | ||
"clean": "rimraf lib/ tsconfig.tsbuildinfo", | ||
"prepublish": "npm run --if-present build", | ||
"test": "mocha \"test/**/*.{js,ts}\"", | ||
"watch": "tsc -p . --watch" | ||
"watch": "tsc -b --watch" | ||
}, | ||
"dependencies": { | ||
"@textlint/ast-node-types": "^4.2.5" | ||
"@textlint/ast-node-types": "^4.3.0" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^5.2.6", | ||
"@types/node": "^12.7.12", | ||
"cross-env": "^6.0.3", | ||
"mocha": "^6.2.1", | ||
"rimraf": "^3.0.0", | ||
"ts-node": "^8.4.1", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^13.11.1", | ||
"cross-env": "^7.0.2", | ||
"mocha": "^7.1.1", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^8.8.2", | ||
"ts-node-test-register": "^8.0.1", | ||
"typescript": "^3.6.4" | ||
"typescript": "^3.8.3" | ||
}, | ||
@@ -56,3 +59,3 @@ "publishConfig": { | ||
"email": "azuciao@gmail.com", | ||
"gitHead": "ec9110a9ee0d3fc5b1af93abcc083b447e3c9b78" | ||
"gitHead": "6b0b383ca2f562dfea1e4261daf9da05b7ddc29e" | ||
} |
@@ -23,3 +23,3 @@ // LICENSE : MIT | ||
assert.doesNotThrow(function() { | ||
assert.doesNotThrow(function () { | ||
JSON.parse(JSON.stringify(node)); | ||
@@ -88,3 +88,3 @@ }); | ||
assert.ok(Array.isArray(range)); | ||
range.forEach(function(index: number) { | ||
range.forEach(function (index: number) { | ||
assert.strictEqual(typeof index, "number"); | ||
@@ -91,0 +91,0 @@ assert.ok(index >= 0); |
@@ -20,3 +20,3 @@ // LICENSE : MIT | ||
assert.doesNotThrow(function() { | ||
assert.doesNotThrow(function () { | ||
JSON.parse(JSON.stringify(node)); | ||
@@ -83,3 +83,3 @@ }); | ||
indent.forEach(function(indentation: number) { | ||
indent.forEach(function (indentation: number) { | ||
assert.strictEqual(typeof indentation, "number"); | ||
@@ -86,0 +86,0 @@ assert.ok(indentation >= 0); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
28058
12
328
1