@ti-engine/core 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
This document contains the list of changes made to the framework. The format is based on the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification.
|
|
4
4
|
|
|
5
|
+
## Version 1.9.1
|
|
6
|
+
|
|
7
|
+
The declarations published in 1.9.0 type-check only for a consumer who has separately configured
|
|
8
|
+
Node's types. One who has not — even with `@types/node` installed, which this package depends on —
|
|
9
|
+
gets `TS2503: Cannot find namespace 'NodeJS'` from inside `definitions.types.d.ts`.
|
|
10
|
+
|
|
11
|
+
The gate added in 1.9.0 did not catch it because it pinned `types: ["node"]` in its own compiler
|
|
12
|
+
options, putting Node's types in scope for the check and for nothing else. It reported zero errors
|
|
13
|
+
against declarations that gave a real consumer two. That pin is gone: the check now runs with
|
|
14
|
+
nothing configured, which is what a consumer's compiler does.
|
|
15
|
+
|
|
16
|
+
* fix(types): emit `/// <reference types="node" />` into declarations that name a Node global.
|
|
17
|
+
TypeScript emits no such reference on its own — not from the directive written in the JavaScript
|
|
18
|
+
source, and not from `types` set in the emit configuration; both were tried — so the declaration
|
|
19
|
+
build adds it
|
|
20
|
+
* build(release): bump package version from `1.9.0` to `1.9.1`
|
|
21
|
+
|
|
5
22
|
## Version 1.9.0
|
|
6
23
|
|
|
7
24
|
TypeScript declarations now ship with the package. The previous attempt was withdrawn in 1.8.1 because the generated
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ti-engine/core",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "Microservice framework for Node.js: a Redis-backed message exchange with end-to-end call tracing, retries and tamper-evident message envelopes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"microservices",
|