@jaredwray/fumanchu
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -12,2 +12,19 @@ import * as HandlebarsLib from 'handlebars'; | ||
}; | ||
type Helper = { | ||
name: string; | ||
category: string; | ||
compatibility?: HelperRegistryCompatibility; | ||
fn: ((...arguments_: any[]) => string); | ||
}; | ||
declare class HelperRegistry { | ||
private readonly _helpers; | ||
constructor(); | ||
init(): void; | ||
register(helper: Helper): boolean; | ||
registerHelpers(helpers: Helper[]): void; | ||
has(name: string): boolean; | ||
filter(filter: HelperFilter): Helper[]; | ||
loadHandlebars(handlebars: any): void; | ||
swapHelpers(handlebars: any): void; | ||
} | ||
@@ -65,2 +82,2 @@ /** | ||
export { type FumanchuCachingOptions, type FumanchuOptions, Handlebars, createHandlebars, fumanchu, handlebars, helpers }; | ||
export { type FumanchuCachingOptions, type FumanchuOptions, Handlebars, type HelperFilter, HelperRegistry, createHandlebars, fumanchu, handlebars, helpers }; |
{ | ||
"name": "@jaredwray/fumanchu", | ||
"description": "Handlebars + Helpers = Fumanchu", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"homepage": "https://github.com/jaredwray/fumanchu", | ||
@@ -61,3 +61,3 @@ "author": "Jared Wray (me@jaredwray.com)", | ||
"array-sort": "^1.0.0", | ||
"cacheable": "^1.8.4", | ||
"cacheable": "^1.8.5", | ||
"create-frame": "^1.0.0", | ||
@@ -94,6 +94,6 @@ "define-property": "^2.0.2", | ||
"devDependencies": { | ||
"@vitest/coverage-v8": "^2.1.4", | ||
"@vitest/coverage-v8": "^2.1.8", | ||
"c8": "^10.1.2", | ||
"chai": "^4.3.10", | ||
"docula": "^0.9.4", | ||
"docula": "^0.9.5", | ||
"engine-handlebars": "^1.1.0", | ||
@@ -107,5 +107,5 @@ "lodash": "^4.17.21", | ||
"typecript": "^0.0.1-security", | ||
"typescript": "^5.6.3", | ||
"vitest": "^2.1.4", | ||
"xo": "^0.59.3" | ||
"typescript": "^5.7.2", | ||
"vitest": "^2.1.8", | ||
"xo": "^0.60.0" | ||
}, | ||
@@ -112,0 +112,0 @@ "xo": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
156479
2184
Updatedcacheable@^1.8.5