Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

liquidjs

Package Overview
Dependencies
Maintainers
1
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liquidjs - npm Package Compare versions

Comparing version 9.41.0 to 9.42.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [9.42.0](https://github.com/harttle/liquidjs/compare/v9.41.0...v9.42.0) (2022-08-27)
### Features
* promise in expression & nested property, [#533](https://github.com/harttle/liquidjs/issues/533) [#276](https://github.com/harttle/liquidjs/issues/276) ([bbf00f3](https://github.com/harttle/liquidjs/commit/bbf00f37bf6080d38ebc258d1921d3ff0d504186))
# [9.41.0](https://github.com/harttle/liquidjs/compare/v9.40.0...v9.41.0) (2022-08-24)

@@ -2,0 +9,0 @@

6

dist/builtin/filters/array.d.ts

@@ -7,10 +7,10 @@ import { FilterImpl } from '../../template/filter/filter-impl';

export declare const reverse: (v: any[]) => any;
export declare function sort<T>(this: FilterImpl, arr: T[], property?: string): any[];
export declare function sort<T>(this: FilterImpl, arr: T[], property?: string): IterableIterator<unknown>;
export declare function sortNatural<T>(input: T[], property?: string): any[];
export declare const size: (v: string | any[]) => number;
export declare function map(this: FilterImpl, arr: Scope[], property: string): object[];
export declare function map(this: FilterImpl, arr: Scope[], property: string): IterableIterator<unknown>;
export declare function compact<T>(this: FilterImpl, arr: T[]): any[];
export declare function concat<T1, T2>(v: T1[], arg?: T2[]): (T1 | T2)[];
export declare function slice<T>(v: T[] | string, begin: number, length?: number): T[] | string;
export declare function where<T extends object>(this: FilterImpl, arr: T[], property: string, expected?: any): T[];
export declare function where<T extends object>(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator<unknown>;
export declare function uniq<T>(arr: T[]): T[];

@@ -13,2 +13,2 @@ import { Liquid } from '../../liquid';

export declare function parseFilePath(tokenizer: Tokenizer, liquid: Liquid): ParsedFileName | null;
export declare function renderFilePath(file: ParsedFileName, ctx: Context, liquid: Liquid): any;
export declare function renderFilePath(file: ParsedFileName, ctx: Context, liquid: Liquid): IterableIterator<unknown>;

@@ -36,4 +36,12 @@ import { NormalizedFullOptions, RenderOptions } from '../liquid-options';

getAll(): Scope;
get(paths: PropertyKey[]): object;
getFromScope(scope: object, paths: PropertyKey[] | string): object;
/**
* @deprecated use `_get()` instead
*/
get(paths: PropertyKey[]): unknown;
_get(paths: PropertyKey[]): IterableIterator<unknown>;
/**
* @deprecated use `_get()` instead
*/
getFromScope(scope: unknown, paths: PropertyKey[] | string): IterableIterator<unknown>;
_getFromScope(scope: unknown, paths: PropertyKey[] | string): IterableIterator<unknown>;
push(ctx: object): number;

@@ -40,0 +48,0 @@ pop(): Scope | undefined;

@@ -9,3 +9,7 @@ import { QuotedToken } from '../tokens/quoted-token';

}
export declare function evalToken(token: Token | undefined, ctx: Context, lenient?: boolean): any;
/**
* @deprecated use `_evalToken` instead
*/
export declare function evalToken(token: Token | undefined, ctx: Context, lenient?: boolean): Generator<never, any, unknown>;
export declare function _evalToken(token: Token | undefined, ctx: Context, lenient?: boolean): IterableIterator<unknown>;
export declare function evalQuotedToken(token: QuotedToken): string;

@@ -11,3 +11,3 @@ import { Context } from '../../context/context';

constructor(name: string, impl: FilterImplOptions, args: FilterArg[], liquid: Liquid);
render(value: any, context: Context): any;
render(value: any, context: Context): IterableIterator<unknown>;
}

@@ -22,3 +22,3 @@ import * as TypeGuards from './util/type-guards';

export { Value } from './template/value';
export { evalToken, evalQuotedToken } from './render/expression';
export { _evalToken, evalToken, evalQuotedToken } from './render/expression';
export { toPromise, toThenable, toValueSync } from './util/async';

@@ -25,0 +25,0 @@ export { defaultOperators, Operators } from './render/operator';

{
"name": "liquidjs",
"version": "9.41.0",
"version": "9.42.0",
"description": "A simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.",

@@ -87,2 +87,3 @@ "main": "dist/liquid.node.cjs.js",

"eslint-config-standard": "^12.0.0",
"eslint-plugin-deprecation": "^1.3.2",
"eslint-plugin-import": "^2.15.0",

@@ -89,0 +90,0 @@ "eslint-plugin-mocha": "^5.3.0",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc