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

@travetto/transformer

Package Overview
Dependencies
Maintainers
0
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/transformer - npm Package Compare versions

Comparing version 4.1.2 to 5.0.0-rc.0

6

package.json
{
"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

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