aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tsutils/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/tsutils/CHANGELOG.md')
-rw-r--r--node_modules/tsutils/CHANGELOG.md72
1 files changed, 70 insertions, 2 deletions
diff --git a/node_modules/tsutils/CHANGELOG.md b/node_modules/tsutils/CHANGELOG.md
index a09528c90..61a4b16a3 100644
--- a/node_modules/tsutils/CHANGELOG.md
+++ b/node_modules/tsutils/CHANGELOG.md
@@ -1,5 +1,73 @@
# Change Log
+## v2.8.0
+* Compatibility with the latest typescript nightly
+* Added `getIdentifierText` to unescape identifiers across typescript versions
+
+## v2.7.1
+**Bugfixes:**
+* `isReassignmentTarget` don't return `true` for right side of assignment
+
+## v2.7.0
+**Features:**
+* Added `isReassignmentTarget` utility
+
+## v2.6.1
+**Bugfixes:**
+* `getDeclarationDomain` now returns `undefined` for Parameter in IndexSignature
+* `collectVariableUsage` ignores Parameter in IndexSignature
+
+## v2.6.0
+**Bugfixes:**
+* `collectVariableUsage`:
+ * don't merge imports with global declarations
+ * treat everything in a declaration file as exported if there is no explicit `export {};`
+* `isExpressionValueUsed`: handle destructuring in `for...of`
+
+**Features:**
+* Added `getModifier` utility
+* Added `DeclarationDomain.Import` to distinguish imports from other declarations
+
+## v2.5.1
+**Bugfixes:**
+* `collectVariableUsage` ignore jump labels as in `break label;`
+
+## v2.5.0
+**Bugfixes:**
+* `isFunctionWithBody` handles constructor overload correctly.
+
+**Features:**
+* Implemented `isExpressionValueUsed` to check whether the result of an expression is actually used.
+* Implemented `getDeclarationDomain` to determine if a given declaration introduces a new symbol in the value or type domain.
+
+**`collectVariableUses` is now usable**
+* no longer ignores signatures and its parameters
+* don't merge declarations and uses across domains
+* no longer marks exceptions in catch clause or parameter properties as exported
+* fixed exports of namespaces
+* fixed scoping of ClassExpression name
+* correcly handle ambient namespaces and module augmentations
+* fixed how `: typeof foo` is handled for parameters and function return type
+* **still WIP**: `export {Foo as Bar}` inside ambient namespaces and modules
+
+## v2.4.0
+**Bugfixes:**
+* `getLineRanges`: `contentLength` now contains the correct line length when there are multiple consecutive line break characters
+* `getTokenAtPosition`: don't match tokens that end at the specified position (because that's already outside of their range)
+* deprecated the misnamed `isModfierFlagSet`, use the new `isModifierFlagSet` instead
+
+**Features:**
+* Added typeguard: `isJsDoc`
+* Added experimental scope and usage analysis (`getUsageDomain` and `collectVariableUsage`)
+
+## v2.3.0
+**Bugfixes:**
+* `forEachComment` no longer omits some comments when callback returns a truthy value
+* `isPositionInComment` fixed false positive inside JSXText
+
+**Features:**
+* Added utility: `getCommentAtPosition`
+
## v2.2.0
**Bugfixes:**
* Fixed bit value of `SideEffectOptions.JsxElement` to be a power of 2
@@ -32,7 +100,7 @@
**Features**:
* Added typeguards for types
-* Added utilities for flag checking: `isNodeFlagSet`, `isTypeFlagSet`, `isSymbolFlagSet`,`isObjectFlagSet`, `isModifierFlagSet`
+* Added utilities for flag checking: `isNodeFlagSet`, `isTypeFlagSet`, `isSymbolFlagSet`,`isObjectFlagSet`, `isModifierFlagSet`
## v1.8.0
**Features:**
@@ -122,4 +190,4 @@
* getVariableDeclarationKind, isBlockScopedVariableDeclarationList, isBlockScopedVariableDeclaration
* isScopeBoundary, isFunctionScopeBoundary, isBlockScopeBoundary
* forEachToken, forEachTokenWithTrivia, forEachComment
- * endsControlFlow \ No newline at end of file
+ * endsControlFlow