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.39.2 to 9.40.0

12

CHANGELOG.md

@@ -0,1 +1,13 @@

# [9.40.0](https://github.com/harttle/liquidjs/compare/v9.39.2...v9.40.0) (2022-08-14)
### Bug Fixes
* target ES6 for ESM bundles, fixes [#526](https://github.com/harttle/liquidjs/issues/526) ([905a6dd](https://github.com/harttle/liquidjs/commit/905a6dd1491705c1154b6679a67c1eb1ffe7eef5))
### Features
* export toValueSync & defaultOptions to evaluate expression, see [#527](https://github.com/harttle/liquidjs/issues/527) ([e874b40](https://github.com/harttle/liquidjs/commit/e874b4060b46195e05a5cc6690626bdaa532154c))
## [9.39.2](https://github.com/harttle/liquidjs/compare/v9.39.1...v9.39.2) (2022-07-21)

@@ -2,0 +14,0 @@

2

dist/parser/tokenizer.d.ts

@@ -26,3 +26,3 @@ import { IdentifierToken } from '../tokens/identifier-token';

private rawBeginAt;
constructor(input: string, trie: Trie, file?: string);
constructor(input: string, trie?: Trie, file?: string);
readExpression(): Expression;

@@ -29,0 +29,0 @@ readExpressionTokens(): IterableIterator<Token>;

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

constructor(tokens: IterableIterator<Token>);
evaluate(ctx: Context, lenient: boolean): Generator<unknown, unknown, unknown>;
evaluate(ctx: Context, lenient?: boolean): Generator<unknown, unknown, unknown>;
}
export declare function evalToken(token: Token | undefined, ctx: Context, lenient?: boolean): any;
export declare function evalQuotedToken(token: QuotedToken): string;

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

export { evalToken, evalQuotedToken } from './render/expression';
export { toPromise, toThenable } from './util/async';
export { toPromise, toThenable, toValueSync } from './util/async';
export { defaultOperators, Operators } from './render/operator';

@@ -31,1 +31,2 @@ export { createTrie, Trie } from './util/operator-trie';

export * as tags from './builtin/tags';
export { defaultOptions } from './liquid-options';
{
"name": "liquidjs",
"version": "9.39.2",
"version": "9.40.0",
"description": "A simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.",

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

"scripts": {
"lint": "eslint \"**/*.ts\" .",
"lint": "eslint \"**/*.mjs\" \"**/*.ts\" .",
"check": "npm run build && npm test && npm run lint && npm run perf:diff",

@@ -24,3 +24,3 @@ "test": "nyc mocha \"test/**/*.ts\"",

"build": "npm run build:dist && npm run build:docs",
"build:dist": "rollup -c rollup.config.ts",
"build:dist": "rollup -c rollup.config.mjs",
"build:docs": "bin/build-docs.sh"

@@ -27,0 +27,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