Socket
Socket
Sign inDemoInstall

liquidjs

Package Overview
Dependencies
Maintainers
1
Versions
206
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.35.2 to 9.36.0

9

CHANGELOG.md

@@ -0,1 +1,10 @@

# [9.36.0](https://github.com/harttle/liquidjs/compare/v9.35.2...v9.36.0) (2022-03-05)
### Features
* Access array item by negative index, closes [#486](https://github.com/harttle/liquidjs/issues/486) ([049685b](https://github.com/harttle/liquidjs/commit/049685b9a0271ba03875e24ff2f6c7870cae62a7))
* allow strip filter with specified char, closes [#390](https://github.com/harttle/liquidjs/issues/390) ([c503cb2](https://github.com/harttle/liquidjs/commit/c503cb23dfbdd6f146d6dea16a84eab3df1f7aa9))
* appropriate error for malformed filters, fixes [#271](https://github.com/harttle/liquidjs/issues/271) ([01014ed](https://github.com/harttle/liquidjs/commit/01014edc491e12d38981045442da9faee598cdf7))
## [9.35.2](https://github.com/harttle/liquidjs/compare/v9.35.1...v9.35.2) (2022-03-02)

@@ -2,0 +11,0 @@

6

dist/builtin/filters/string.d.ts
export declare function append(v: string, arg: string): string;
export declare function prepend(v: string, arg: string): string;
export declare function lstrip(v: string): string;
export declare function lstrip(v: string, chars?: string): string;
export declare function downcase(v: string): string;

@@ -8,5 +8,5 @@ export declare function upcase(str: string): string;

export declare function removeFirst(v: string, l: string): string;
export declare function rstrip(str: string): string;
export declare function rstrip(str: string, chars?: string): string;
export declare function split(v: string, arg: string): string[];
export declare function strip(v: string): string;
export declare function strip(v: string, chars?: string): string;
export declare function stripNewlines(v: string): string;

@@ -13,0 +13,0 @@ export declare function capitalize(str: string): string;

import { NormalizedFullOptions, RenderOptions } from '../liquid-options';
import { Scope } from './scope';
declare type PropertyKey = string | number;
export declare class Context {

@@ -35,4 +36,4 @@ /**

getAll(): Scope;
get(paths: string[]): object;
getFromScope(scope: object, paths: string[] | string): object;
get(paths: PropertyKey[]): object;
getFromScope(scope: object, paths: PropertyKey[] | string): object;
push(ctx: object): number;

@@ -43,3 +44,4 @@ pop(): Scope | undefined;

}
export declare function readProperty(obj: Scope, key: string, ownPropertyOnly: boolean): any;
export declare function readJSProperty(obj: Scope, key: string, ownPropertyOnly: boolean): any;
export declare function readProperty(obj: Scope, key: PropertyKey, ownPropertyOnly: boolean): any;
export declare function readJSProperty(obj: Scope, key: PropertyKey, ownPropertyOnly: boolean): any;
export {};
export declare abstract class Drop {
valueOf(): any;
liquidMethodMissing(key: string): Promise<string | undefined> | string | undefined;
liquidMethodMissing(key: string | number): Promise<string | undefined> | string | undefined;
}

@@ -33,1 +33,2 @@ export declare const hasOwnProperty: (v: PropertyKey) => boolean;

export declare function argumentsToValue<F extends (...args: any) => any>(fn: F): (...args: Parameters<F>) => any;
export declare function escapeRegExp(text: string): string;
{
"name": "liquidjs",
"version": "9.35.2",
"version": "9.36.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

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