Comparing version 9.38.0 to 9.39.0
@@ -0,1 +1,13 @@ | ||
# [9.39.0](https://github.com/harttle/liquidjs/compare/v9.38.0...v9.39.0) (2022-07-09) | ||
### Bug Fixes | ||
* for tag not respecting Drop#valueOf(), fixes [#515](https://github.com/harttle/liquidjs/issues/515) ([c3e51ca](https://github.com/harttle/liquidjs/commit/c3e51caa701fd4449ed5257e23569a37ef12dea2)) | ||
### Features | ||
* iteration protocols ([a19feea](https://github.com/harttle/liquidjs/commit/a19feea7c46fc476139a150bda051f485328afe8)) | ||
# [9.38.0](https://github.com/harttle/liquidjs/compare/v9.37.0...v9.38.0) (2022-07-07) | ||
@@ -2,0 +14,0 @@ |
export declare abstract class Drop { | ||
valueOf(): any; | ||
liquidMethodMissing(key: string | number): Promise<string | undefined> | string | undefined; | ||
} |
@@ -1,9 +0,3 @@ | ||
declare type resolver = (x?: any) => any; | ||
export interface Thenable<T> { | ||
then(resolve: resolver, reject?: resolver): Thenable<T>; | ||
catch(reject: resolver): Thenable<T>; | ||
} | ||
export declare function toPromise<T>(val: Generator<unknown, T, unknown> | Thenable<T> | T): Promise<T>; | ||
export declare function toValue<T>(val: Generator<unknown, T, unknown> | T): T; | ||
export declare function toPromise<T>(val: Generator<unknown, T, unknown> | Promise<T> | T): Promise<T>; | ||
export declare function toValueSync<T>(val: Generator<unknown, T, unknown> | T): T; | ||
export declare const toThenable: typeof toPromise; | ||
export {}; |
@@ -5,2 +5,4 @@ export declare const toString: () => string; | ||
export declare function isFunction(value: any): value is Function; | ||
export declare function isPromise<T>(val: any): val is Promise<T>; | ||
export declare function isIterator(val: any): val is IterableIterator<any>; | ||
export declare function escapeRegex(str: string): string; | ||
@@ -15,2 +17,3 @@ export declare function promisify<T1, T2>(fn: (arg1: T1, cb: (err: Error | null, result: T2) => void) => void): (arg1: T1) => Promise<T2>; | ||
export declare function isArray(value: any): value is any[]; | ||
export declare function isIterable(value: any): value is Iterable<any>; | ||
export declare function forOwn<T>(obj: { | ||
@@ -17,0 +20,0 @@ [key: string]: T; |
{ | ||
"name": "liquidjs", | ||
"version": "9.38.0", | ||
"version": "9.39.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
1358154
19179