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

@textlint/kernel

Package Overview
Dependencies
Maintainers
3
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.2.0 to 3.2.1

12

CHANGELOG.md

@@ -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)

3

lib/kernel/src/task/promise-event-emitter.d.ts
/// <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

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