@getlang/get
Advanced tools
Comparing version 0.0.18 to 0.0.19
import type { Hooks } from '@getlang/lib'; | ||
import type { Program } from '@getlang/parser/ast'; | ||
export { version } from './version.js'; | ||
export type UserHooks = Partial<Hooks>; | ||
export declare function execute(source: string, inputs?: Record<string, unknown>, hooks?: UserHooks): Promise<unknown>; | ||
export declare function executeAST(ast: Program, inputs?: Record<string, unknown>, hooks?: UserHooks): Promise<unknown>; | ||
declare const version: string; | ||
export { version }; |
@@ -6,3 +6,3 @@ import { wait, ImportError } from '@getlang/lib'; | ||
import { runSlice } from './execute/lang.js'; | ||
import pkg from './package.json' with { type: 'json' }; | ||
export { version } from './version.js'; | ||
function buildHooks(hooks = {}) { | ||
@@ -28,4 +28,2 @@ return { | ||
} | ||
const { version } = pkg; | ||
export { version }; | ||
//# sourceMappingURL=index.js.map |
@@ -9,4 +9,4 @@ import type { Hooks } from '@getlang/lib' | ||
import { runSlice } from './execute/lang.js' | ||
import pkg from './package.json' with { type: 'json' } | ||
export { version } from './version.js' | ||
export type UserHooks = Partial<Hooks> | ||
@@ -46,5 +46,1 @@ | ||
} | ||
const { version } = pkg | ||
export { version } |
{ | ||
"name": "@getlang/get", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
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
83045
60
1628