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

@vaadin/hilla-generator-utils

Package Overview
Dependencies
Maintainers
0
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/hilla-generator-utils - npm Package Compare versions

Comparing version 24.5.0-alpha9 to 24.5.0-beta1

1

ast.d.ts

@@ -6,2 +6,3 @@ import { type Node, type VisitResult, type SourceFile, type Statement, type TransformerFactory } from 'typescript';

export declare function transform<T extends Node>(transformer: (node: Node) => VisitResult<Node | undefined>): TransformerFactory<T>;
export declare function traverse<T extends Node>(node: Node, visitor: (node: Node) => T | undefined): T | undefined;
//# sourceMappingURL=ast.d.ts.map

@@ -31,6 +31,13 @@ import ts, {

}
function traverse(node, visitor) {
function _visitor(n) {
return visitor(n) ?? ts.forEachChild(n, _visitor);
}
return _visitor(node);
}
export {
template,
transform
transform,
traverse
};
//# sourceMappingURL=ast.js.map

2

createSourceFile.js
import ts, {} from "typescript";
function createSourceFile(statements, fileName) {
const sourceFile = ts.createSourceFile(fileName, "", ts.ScriptTarget.ES2019, void 0, ts.ScriptKind.TS);
const sourceFile = ts.createSourceFile(fileName, "", ts.ScriptTarget.ES2021, void 0, ts.ScriptKind.TS);
return ts.factory.updateSourceFile(sourceFile, statements);

@@ -5,0 +5,0 @@ }

{
"name": "@vaadin/hilla-generator-utils",
"version": "24.5.0-alpha9",
"version": "24.5.0-beta1",
"description": "A set of utils for developing Hilla generator plugins",

@@ -62,3 +62,3 @@ "main": "index.js",

"pino-pretty": "^10.2.0",
"typescript": "5.5.2"
"typescript": "5.6.2"
},

@@ -65,0 +65,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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