@dunx/transform 3.5.1 → 3.7.0

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.
Files changed (2) hide show
  1. package/dist/deps.d.ts +2 -3
  2. package/package.json +1 -1
package/dist/deps.d.ts CHANGED
@@ -5,14 +5,13 @@ export interface TransformResult {
5
5
  readonly annotated: readonly string[];
6
6
  }
7
7
  /**
8
- * Records each class's constructor dependencies, and each decorated field's
9
- * declared type, as thunks on the class itself.
8
+ * Records each class's constructor dependencies as a thunk on the class itself.
10
9
  *
11
10
  * A thunk, not a literal: the body is evaluated when the record is read rather
12
11
  * than when the module is defined, so a dependency declared later in the file -
13
12
  * or in a circular import - is not a temporal-dead-zone crash. That is what
14
13
  * removes the need for a `forwardRef` escape hatch, and it is also why a class decorator
15
- * cannot read the field record while it runs: the statement is appended after the
14
+ * cannot read the record while it runs: the statement is appended after the
16
15
  * class, which is after decoration.
17
16
  */
18
17
  export declare const transform: (source: string, filename?: string) => TransformResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dunx/transform",
3
- "version": "3.5.1",
3
+ "version": "3.7.0",
4
4
  "description": "Load-time transform that records constructor dependencies for the dunx container",
5
5
  "keywords": [
6
6
  "bun",