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

@zenstackhq/language

Package Overview
Dependencies
Maintainers
1
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zenstackhq/language - npm Package Compare versions

Comparing version 0.6.0-pre.11 to 0.6.0-pre.12

README.md

28

ast.d.ts

@@ -0,2 +1,30 @@

import { AbstractDeclaration, ExpressionType } from './generated/ast';
export * from './generated/ast';
export { AstNode, Reference } from 'langium';
/**
* Shape of type resolution result: an expression type or reference to a declaration
*/
export type ResolvedShape = ExpressionType | AbstractDeclaration;
/**
* Resolved type information (attached to expressions by linker)
*/
export type ResolvedType = {
decl?: ResolvedShape;
array?: boolean;
};
declare module './generated/ast' {
interface AttributeArg {
/**
* Resolved attribute param declaration
*/
$resolvedParam?: AttributeParam;
}
}
declare module 'langium' {
interface AstNode {
/**
* Resolved type information attached to expressions
*/
$resolvedType?: ResolvedType;
}
}

2

generated/ast.d.ts

@@ -72,3 +72,3 @@ /******************************************************************************

reference?: Reference<TypeDeclaration>;
type?: 'ContextType' | 'FieldReference' | ExpressionType;
type?: 'ContextType' | 'FieldReference' | 'TransitiveFieldReference' | ExpressionType;
}

@@ -75,0 +75,0 @@ export declare const AttributeParamType = "AttributeParamType";

{
"name": "@zenstackhq/language",
"version": "0.6.0-pre.11",
"description": "ZenStack modeling language",
"version": "0.6.0-pre.12",
"displayName": "ZenStack modeling language compiler",
"description": "ZenStack modeling language compiler",
"homepage": "https://zenstack.dev",
"publishConfig": {

@@ -9,4 +11,3 @@ "directory": "dist",

},
"keywords": [],
"author": "",
"author": "ZenStack Team",
"license": "MIT",

@@ -27,5 +28,5 @@ "devDependencies": {

"lint": "eslint src --ext ts",
"build": "pnpm lint && pnpm clean && pnpm generate && tsc && cp ./package.json dist/",
"build": "pnpm lint && pnpm clean && pnpm generate && tsc && cp ./README.md ./package.json dist/",
"publish-dev": "pnpm build && pnpm publish --tag dev"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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