Comparing version 0.4.0 to 0.4.1
@@ -1,2 +0,2 @@ | ||
interface CodeTree { | ||
export interface CodeTree { | ||
language: string; | ||
@@ -6,7 +6,7 @@ spans: string[]; | ||
} | ||
declare type Code = CodeTree | string; | ||
declare type TaggedFunction = (code: TemplateStringsArray, ...rest: Code[]) => CodeTree; | ||
declare type LanguageDictionary = Record<string, TaggedFunction>; | ||
export declare type Code = CodeTree | string; | ||
export declare type TaggedFunction = (code: TemplateStringsArray, ...rest: Code[]) => CodeTree; | ||
export declare type LanguageDictionary = Record<string, TaggedFunction>; | ||
export declare const language: LanguageDictionary; | ||
interface Token { | ||
export interface Token { | ||
code: string; | ||
@@ -19,3 +19,2 @@ color: string | null; | ||
export declare function diff(start: CodeTree, end: CodeTree): Promise<(Token | null)[]>; | ||
export {}; | ||
//# sourceMappingURL=tags.d.ts.map |
{ | ||
"name": "code-fns", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A library for visualizing code.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27645
0
860