chore(release): 7.2.1 [skip ci]

## [7.2.1](https://github.com/harttle/liquidjs/compare/v7.2.0...v7.2.1) (2019-02-22)

### Bug Fixes

* default length for truncate and truncatewords ([56c7992](https://github.com/harttle/liquidjs/commit/56c7992))
This commit is contained in:
semantic-release-bot
2019-02-22 19:56:16 +00:00
parent 3cf01603e8
commit 37d12a14eb
62 changed files with 620 additions and 711 deletions
+12 -17
View File
@@ -1,30 +1,25 @@
declare abstract class LiquidError {
name: string;
message: string;
stack: string;
private file;
private input;
import Token from 'src/parser/token';
import ITemplate from 'src/template/itemplate';
declare abstract class LiquidError extends Error {
private token;
private originalError;
constructor(err: any, token: any);
captureStackTrace(obj: any): void;
constructor(err: Error, token: Token);
protected update(): void;
}
export declare class TokenizationError extends LiquidError {
constructor(message: any, token: any);
constructor(message: string, token: Token);
}
export declare class ParseError extends LiquidError {
constructor(err: any, token: any);
constructor(err: Error, token: Token);
}
export declare class RenderError extends LiquidError {
constructor(err: any, tpl: any);
constructor(err: Error, tpl: ITemplate);
}
export declare class RenderBreakError {
message: string;
export declare class RenderBreakError extends Error {
resolvedHTML: string;
constructor(message: any);
constructor(message: string);
}
export declare class AssertionError {
message: string;
constructor(message: any);
export declare class AssertionError extends Error {
constructor(message: string);
}
export {};
+1 -2
View File
@@ -1,2 +1 @@
export declare function anySeries(iterable: any, iteratee: any): Promise<any>;
export declare function mapSeries(iterable: any, iteratee: any): Promise<any[]>;
export declare function mapSeries<T1, T2>(iterable: T1[], iteratee: (item: T1, idx: number, iterable: T1[]) => Promise<T2> | T2): Promise<T2[]>;
+1 -1
View File
@@ -1 +1 @@
export default function (d: any, format: any): string;
export default function (d: Date, format: string): string;
+12 -6
View File
@@ -1,15 +1,21 @@
export declare function isString(value: any): boolean;
export declare function isFunction(value: any): boolean;
export declare function promisify(fn: any): (...args: any[]) => Promise<{}>;
export declare function promisify<T1, T2>(fn: (arg1: T1, cb: (err: Error | null, result: T2) => void) => void): (arg1: T1) => Promise<T2>;
export declare function promisify<T1, T2, T3>(fn: (arg1: T1, arg2: T2, cb: (err: Error | null, result: T3) => void) => void): (arg1: T1, arg2: T2) => Promise<T3>;
export declare function stringify(value: any): string;
export declare function create<T1 extends object, T2 extends T1 = T1>(proto: T1): T2;
export declare function isNil(value: any): boolean;
export declare function isArray(value: any): boolean;
export declare function isError(value: any): boolean;
export declare function forOwn(object: any, iteratee: ((val: any, key: string, obj: object) => boolean | void)): any;
export declare function assign(obj: object, ...srcs: object[]): object;
export declare function last(arr: any[]): any;
export declare function uniq(arr: any[]): any[];
export declare function forOwn<T>(object: {
[key: string]: T;
} | undefined, iteratee: ((val: T, key: string, obj: {
[key: string]: T;
}) => boolean | void)): {
[key: string]: T;
};
export declare function last<T>(arr: T[]): T;
export declare function last(arr: string): string;
export declare function isObject(value: any): boolean;
export declare function range(start: number, stop?: number, step?: number): any[];
export declare function range(start: number, stop?: number, step?: number): number[];
export declare function padStart(str: any, length: number, ch?: string): any;