@travetto/transformer
Advanced tools
Comparing version 4.1.2 to 5.0.0-rc.0
{ | ||
"name": "@travetto/transformer", | ||
"version": "4.1.2", | ||
"version": "5.0.0-rc.0", | ||
"description": "Functionality for AST transformations, with transformer registration, and general utils", | ||
@@ -27,5 +27,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@travetto/manifest": "^4.1.0", | ||
"@travetto/manifest": "^5.0.0-rc.0", | ||
"tslib": "^2.6.3", | ||
"typescript": "^5.5.2" | ||
"typescript": "^5.5.3" | ||
}, | ||
@@ -32,0 +32,0 @@ "travetto": { |
import ts from 'typescript'; | ||
import { ManifestIndex, ManifestModuleUtil, path } from '@travetto/manifest'; | ||
import { path, ManifestIndex, ManifestModuleUtil } from '@travetto/manifest'; | ||
@@ -5,0 +5,0 @@ import type { AnyType, TransformResolver } from './types'; |
import ts from 'typescript'; | ||
import { ManifestIndex, path } from '@travetto/manifest'; | ||
import { path, ManifestIndex } from '@travetto/manifest'; | ||
@@ -49,3 +49,2 @@ import { ManagedType, AnyType, ForeignType } from './resolver/types'; | ||
this.file = path.toPosix(this.source.fileName); | ||
this.importName = this.#resolver.getFileImportName(this.file, true); | ||
@@ -52,0 +51,0 @@ } |
@@ -29,3 +29,3 @@ import ts from 'typescript'; | ||
static getRangeOf<T extends ts.Node>(source: ts.SourceFile, o: T | undefined): [start: number, end: number] | undefined { | ||
if (o) { | ||
if (o && o.pos >= 0) { | ||
const start = ts.getLineAndCharacterOfPosition(source, o.getStart(source)); | ||
@@ -32,0 +32,0 @@ const end = ts.getLineAndCharacterOfPosition(source, o.getEnd()); |
import ts from 'typescript'; | ||
import { ManifestModuleUtil, PackageUtil, path } from '@travetto/manifest'; | ||
import { path, ManifestModuleUtil, PackageUtil } from '@travetto/manifest'; | ||
@@ -5,0 +5,0 @@ import { Import } from '../types/shared'; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
93938
1
+ Added@travetto/manifest@5.0.9(transitive)
- Removed@travetto/manifest@4.1.0(transitive)
Updatedtypescript@^5.5.3