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

@travetto/transformer

Package Overview
Dependencies
Maintainers
1
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.0.0-rc.5 to 4.0.0-rc.6

4

package.json
{
"name": "@travetto/transformer",
"version": "4.0.0-rc.5",
"version": "4.0.0-rc.6",
"description": "Functionality for AST transformations, with transformer registration, and general utils",

@@ -27,3 +27,3 @@ "keywords": [

"dependencies": {
"@travetto/manifest": "^4.0.0-rc.5",
"@travetto/manifest": "^4.0.0-rc.6",
"tslib": "^2.6.2",

@@ -30,0 +30,0 @@ "typescript": "^5.3.3"

@@ -111,3 +111,3 @@ <!-- This file was generated by @travetto/doc and should not be modified directly -->

let TEST = class TEST {
static Ⲑinit = Ⲑ_runtime_1.RuntimeIndex.registerFunction(TEST, ᚕf, 649563175, { COMPUTEAGE: { hash: 1286718349 } }, false, false);
static Ⲑinit = Ⲑ_runtime_1.RuntimeIndex.registerFunction(TEST, ᚕf, { hash: 649563175, lines: [1, 9] }, { COMPUTEAGE: { hash: 1286718349, lines: [6, 8] } }, false, false);
NAME;

@@ -114,0 +114,0 @@ AGE;

@@ -25,13 +25,10 @@ import ts from 'typescript';

/**
* Get first line of method body
* Get code range of node
* @param m
*/
static getRangeOf<T extends ts.Node>(source: ts.SourceFile, o: T | undefined): { start: number, end: number } | undefined {
static getRangeOf<T extends ts.Node>(source: ts.SourceFile, o: T | undefined): [start: number, end: number] | undefined {
if (o) {
const start = ts.getLineAndCharacterOfPosition(source, o.getStart(source));
const end = ts.getLineAndCharacterOfPosition(source, o.getEnd());
return {
start: start.line + 1,
end: end.line + 1
};
return [start.line + 1, end.line + 1];
}

@@ -38,0 +35,0 @@ }

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