@textlint/kernel
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -6,2 +6,14 @@ # Change Log | ||
<a name="3.2.1"></a> | ||
## [3.2.1](https://github.com/textlint/textlint/compare/@textlint/kernel@3.2.0...@textlint/kernel@3.2.1) (2020-02-07) | ||
### Code Refactoring | ||
* **kernel:** use promise instead of bluebird ([c5eb768](https://github.com/textlint/textlint/commit/c5eb768)) | ||
<a name="3.2.0"></a> | ||
@@ -8,0 +20,0 @@ # [3.2.0](https://github.com/textlint/textlint/compare/@textlint/kernel@3.1.9...@textlint/kernel@3.2.0) (2020-01-07) |
/// <reference types="node" /> | ||
import { EventEmitter } from "events"; | ||
import Bluebird = require("bluebird"); | ||
export declare class PromiseEventEmitter { | ||
@@ -9,3 +8,3 @@ private events; | ||
on(event: string, listener: (...args: any[]) => void): EventEmitter; | ||
emit(event: string, ...args: Array<any>): Bluebird<Array<void>>; | ||
emit(event: string, ...args: Array<any>): Promise<Array<void>>; | ||
} |
@@ -7,3 +7,2 @@ // MIT © 2017 azu | ||
var events_1 = require("events"); | ||
var Bluebird = require("bluebird"); | ||
var PromiseEventEmitter = /** @class */ (function () { | ||
@@ -29,3 +28,3 @@ function PromiseEventEmitter() { | ||
}); | ||
return Bluebird.all(promises); | ||
return Promise.all(promises); | ||
}; | ||
@@ -32,0 +31,0 @@ return PromiseEventEmitter; |
@@ -39,3 +39,2 @@ // LICENSE : MIT | ||
var debug = require("debug")("textlint:core-task"); | ||
var Bluebird = require("bluebird"); | ||
var RuleTypeEmitter = /** @class */ (function (_super) { | ||
@@ -155,3 +154,3 @@ __extends(RuleTypeEmitter, _super); | ||
}); | ||
Bluebird.all(promiseQueue) | ||
Promise.all(promiseQueue) | ||
.then(function () { | ||
@@ -158,0 +157,0 @@ _this.emit(TextLintCoreTask.events.complete); |
{ | ||
"name": "@textlint/kernel", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "textlint kernel is core logic by pure JavaScript.", | ||
@@ -37,8 +37,6 @@ "keywords": [ | ||
"@textlint/ast-tester": "^2.1.6", | ||
"@textlint/ast-traverse": "^2.1.6", | ||
"@textlint/ast-traverse": "^2.1.7", | ||
"@textlint/feature-flag": "^3.1.6", | ||
"@textlint/types": "^1.3.0", | ||
"@textlint/types": "^1.3.1", | ||
"@textlint/utils": "^1.0.3", | ||
"@types/bluebird": "^3.5.18", | ||
"bluebird": "^3.7.0", | ||
"debug": "^4.1.1", | ||
@@ -50,3 +48,3 @@ "deep-equal": "^1.1.0", | ||
"devDependencies": { | ||
"@textlint/markdown-to-ast": "^6.1.6", | ||
"@textlint/markdown-to-ast": "^6.1.7", | ||
"@types/deep-equal": "^1.0.1", | ||
@@ -66,3 +64,3 @@ "@types/mocha": "^5.2.6", | ||
}, | ||
"gitHead": "8f834c0d3b9049026e7085f50c3cbec0ca4d314d" | ||
"gitHead": "07ab1c204508da3f9b26f1299bcbdb48a52a58a9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
298343
10
90644
5243
- Removed@types/bluebird@^3.5.18
- Removedbluebird@^3.7.0
- Removed@types/bluebird@3.5.42(transitive)
- Removedbluebird@3.7.2(transitive)
Updated@textlint/types@^1.3.1