Comparing version 10.1.0 to 10.2.0
@@ -0,1 +1,14 @@ | ||
# [10.2.0](https://github.com/harttle/liquidjs/compare/v10.1.0...v10.2.0) (2022-12-02) | ||
### Bug Fixes | ||
* `case` should render multiple `when` statements ([d17813e](https://github.com/harttle/liquidjs/commit/d17813ef5217264bd08f741b0e1f713bedf2d464)) | ||
### Features | ||
* add remove_last filter ([6c3f1c1](https://github.com/harttle/liquidjs/commit/6c3f1c1e0c0c5d30ef77eaf20df65e149e51e693)) | ||
* add replace_last filter ([b4d1e27](https://github.com/harttle/liquidjs/commit/b4d1e27420fcf36ae6d5dbc92cfe4a26299690f2)) | ||
# [10.1.0](https://github.com/harttle/liquidjs/compare/v10.0.0...v10.1.0) (2022-11-29) | ||
@@ -2,0 +15,0 @@ |
@@ -8,2 +8,3 @@ export declare function append(v: string, arg: string): string; | ||
export declare function remove_first(v: string, l: string): string; | ||
export declare function remove_last(v: string, l: string): string; | ||
export declare function rstrip(str: string, chars?: string): string; | ||
@@ -16,3 +17,4 @@ export declare function split(v: string, arg: string): string[]; | ||
export declare function replace_first(v: string, arg1: string, arg2: string): string; | ||
export declare function replace_last(v: string, arg1: string, arg2: string): string; | ||
export declare function truncate(v: string, l?: number, o?: string): string; | ||
export declare function truncatewords(v: string, words?: number, o?: string): string; |
@@ -5,3 +5,3 @@ import { ValueToken, Liquid, Value, Emitter, TagToken, TopLevelToken, Context, Template, Tag } from '..'; | ||
branches: { | ||
value?: ValueToken; | ||
values: ValueToken[]; | ||
templates: Template[]; | ||
@@ -11,3 +11,3 @@ }[]; | ||
constructor(tagToken: TagToken, remainTokens: TopLevelToken[], liquid: Liquid); | ||
render(ctx: Context, emitter: Emitter): Generator<unknown, unknown, unknown>; | ||
render(ctx: Context, emitter: Emitter): Generator<unknown, void, unknown>; | ||
} |
{ | ||
"name": "liquidjs", | ||
"version": "10.1.0", | ||
"version": "10.2.0", | ||
"description": "A simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.", | ||
@@ -5,0 +5,0 @@ "main": "dist/liquid.node.cjs.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
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
1251062
16854