• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

harttle / liquidjs
100%

Build:
DEFAULT BRANCH: master
Repo Added 19 Feb 2019 03:45PM UTC
Files 117
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • 833_Support-Value-Expressions-as-Operands-in-Conditional-and-Loop-Tags
  • 868_null_date
  • 871_rounding_negative_half
  • MorielHarush-master
  • all-contributors/add-CriGoT
  • all-contributors/add-JasonEtco
  • all-contributors/add-Pixcell
  • all-contributors/add-TrySound
  • all-contributors/add-ameyaapte1
  • all-contributors/add-bangank36
  • all-contributors/add-bobgubko
  • all-contributors/add-hongl-1
  • all-contributors/add-jamelait
  • all-contributors/add-mahyar-pasarzangene
  • all-contributors/add-mastodon0
  • all-contributors/add-prassie
  • all-contributors/add-santialbo
  • all-contributors/add-zxx-457
  • chore-chai2jest
  • chore-github-actions
  • chore-pr-title-checker
  • createTrie-perf
  • cursor/fix-template-mapfs-containment-1b13
  • dbg
  • dependabot/npm_and_yarn/acorn-6.4.1
  • dependabot/npm_and_yarn/ansi-regex-3.0.1
  • dependabot/npm_and_yarn/async-3.2.3
  • dependabot/npm_and_yarn/decode-uri-component-0.2.2
  • dependabot/npm_and_yarn/docs/ajv-6.12.6
  • dependabot/npm_and_yarn/docs/ansi-regex-4.1.1
  • dependabot/npm_and_yarn/docs/decode-uri-component-0.2.2
  • dependabot/npm_and_yarn/docs/glob-parent-5.1.2
  • dependabot/npm_and_yarn/docs/highlight.js-9.18.5
  • dependabot/npm_and_yarn/docs/lodash-4.17.19
  • dependabot/npm_and_yarn/docs/lodash-4.17.21
  • dependabot/npm_and_yarn/docs/minimatch-3.1.2
  • dependabot/npm_and_yarn/docs/minimist-and-hexo-renderer-swig-1.2.7
  • dependabot/npm_and_yarn/docs/moment-2.29.2
  • dependabot/npm_and_yarn/docs/moment-2.29.4
  • dependabot/npm_and_yarn/docs/moment-timezone-0.5.37
  • dependabot/npm_and_yarn/docs/path-parse-1.0.7
  • dependabot/npm_and_yarn/docs/prismjs-1.21.0
  • dependabot/npm_and_yarn/docs/prismjs-1.23.0
  • dependabot/npm_and_yarn/docs/prismjs-1.24.0
  • dependabot/npm_and_yarn/docs/prismjs-1.25.0
  • dependabot/npm_and_yarn/docs/prismjs-1.27.0
  • dependabot/npm_and_yarn/docs/pug-code-gen-2.0.3
  • dependabot/npm_and_yarn/docs/terser-4.8.1
  • dependabot/npm_and_yarn/docs/y18n-4.0.1
  • dependabot/npm_and_yarn/elliptic-6.5.3
  • dependabot/npm_and_yarn/elliptic-6.5.4
  • dependabot/npm_and_yarn/eslint-utils-1.4.3
  • dependabot/npm_and_yarn/got-and-semantic-release/npm--removed
  • dependabot/npm_and_yarn/handlebars-4.5.3
  • dependabot/npm_and_yarn/handlebars-4.7.7
  • dependabot/npm_and_yarn/highlight.js-9.18.5
  • dependabot/npm_and_yarn/hosted-git-info-2.8.9
  • dependabot/npm_and_yarn/https-proxy-agent-2.2.4
  • dependabot/npm_and_yarn/ini-1.3.7
  • dependabot/npm_and_yarn/ini-1.3.8
  • dependabot/npm_and_yarn/jquery-3.5.0
  • dependabot/npm_and_yarn/jsdom-16.5.0
  • dependabot/npm_and_yarn/minimatch-3.1.2
  • dependabot/npm_and_yarn/minimist-1.2.6
  • dependabot/npm_and_yarn/nanoid-3.3.1
  • dependabot/npm_and_yarn/node-fetch-2.6.1
  • dependabot/npm_and_yarn/node-fetch-2.6.7
  • dependabot/npm_and_yarn/npm-6.13.4
  • dependabot/npm_and_yarn/npm-6.14.6
  • dependabot/npm_and_yarn/npm-user-validate-1.0.1
  • dependabot/npm_and_yarn/path-parse-1.0.7
  • dependabot/npm_and_yarn/path-parse-and-path-parse-1.0.7
  • dependabot/npm_and_yarn/pathval-1.1.1
  • dependabot/npm_and_yarn/semantic-release-17.2.3
  • dependabot/npm_and_yarn/semantic-release-19.0.3
  • dependabot/npm_and_yarn/semver-regex-3.1.4
  • dependabot/npm_and_yarn/shelljs-0.8.5
  • dependabot/npm_and_yarn/ssri-6.0.2
  • dependabot/npm_and_yarn/tar-4.4.19
  • dependabot/npm_and_yarn/trim-off-newlines-1.0.3
  • dependabot/npm_and_yarn/underscore-1.13.1
  • dependabot/npm_and_yarn/ws-6.2.2
  • dependabot/npm_and_yarn/y18n-3.2.2
  • dev-9.0.0
  • docs-inspect-arr
  • docs-operators
  • docs-readme-add-freshet
  • docs-readme-whos-using
  • docs-security
  • docs-talboren
  • docs-testmulink
  • docs/ai
  • docs/cookieconsent
  • docs/english-polish
  • docs/github-links-and-docs-polish
  • docs/gtag-only-clean
  • docs/lambda-test
  • docs/readme-polish
  • docs/security-github-advisories
  • docs/testmu-ai
  • engine-aware-tokenizer-poc
  • export_specific_value_tokens_as_types
  • feat-async-scope
  • feat-string-first-last
  • feat/drop-downlevel-iteration
  • feat/drop-keep-output-type
  • feat/drop-memory-limit
  • feat/drop-tag-impl-options-pr
  • feat/expose-types
  • feat_base64_filters
  • feature/884-add-sha256-and-hmac_sha256
  • feature/newline-filter
  • fix-140
  • fix-block-with-strictvariables
  • fix-break-inside-forloop
  • fix-consistent-range
  • fix-continue
  • fix-empty-tag-args
  • fix-epoch-timezone-shift
  • fix-filter-error
  • fix-fs-contains
  • fix-iterate-objects
  • fix-num-coerce
  • fix-release
  • fix-rfc2822-date
  • fix-timezones
  • fix-where-context
  • fix/base64-encode-buffer-support
  • fix/block-circular-reference-dos
  • fix/context-spawn-own-property-only
  • fix/date-strftime-width-dos
  • fix/disallow-scope-proto
  • fix/enforce-root-containment
  • fix/filter-prototype-rce
  • fix/join-memory-limit-output-size
  • fix/json-filters-memory-limit
  • fix/modulo-negative-sign
  • fix/own-property-only-inherited-array-indices
  • fix/own-property-only-magic-keys
  • fix/pop-filter-memory-limit
  • fix/render-include-recursion
  • fix/renderlimit-empty-for-loop
  • fix/replace-undefined-replacement
  • fix/slice-out-of-range
  • fix/sort-natural-own-property-only
  • fix/strftime-fractional-seconds
  • fix/strip-html-newline-tags
  • fix/strip-html-redos
  • include-path
  • inner_expression_parentheses
  • inner_expression_parentheses_proposal
  • patch-1
  • patch-2
  • patch-3
  • perf-ast
  • perf-benchmark
  • perf-cross-engines
  • perf-memory
  • refactor-async
  • refactor-camelCase
  • refactor/shell-scripts-to-js
  • refs/heads/fix-filter-error
  • refs/heads/master
  • revert-615-tom/sed-macos
  • round_fix
  • static-analysis-alternate
  • test
  • v10
  • v7.0.1
  • v7.0.2
  • v9.26

10 Jul 2026 03:13PM UTC coverage: 99.549%. Remained the same
29102827470

push

github

web-flow
fix(date): %s returns Unix epoch unaffected by display timezone (#932)

The %s handler read LiquidDate.getTime(), which returns the
displayDate deliberately shifted by the display timezone offset for
wall-clock getters. With a timezone argument or timezoneOffset
option set, %s produced an epoch shifted by (server offset - display
offset) instead of the true Unix timestamp.

Expose the unshifted time as LiquidDate.dateValue() and use it for
%s. Also switch Math.round to Math.floor so fractional seconds
truncate toward the epoch like Ruby strftime.

Fixes #931

1153 of 1165 branches covered (98.97%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 2 files covered. (100.0%)

3043 of 3050 relevant lines covered (99.77%)

22600.13 hits per line

Relevant lines Covered
Build:
Build:
3050 RELEVANT LINES 3043 COVERED LINES
22600.13 HITS PER LINE
Source Files on master
  • Tree
  • List 119
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29102827470 master fix(date): %s returns Unix epoch unaffected by display timezone (#932) The %s handler read LiquidDate.getTime(), which returns the displayDate deliberately shifted by the display timezone offset for wall-clock getters. With a timezone argument or... push 10 Jul 2026 03:13PM UTC web-flow github
99.55
29028846791 master fix(date): zero-pad milliseconds when formatting %N fractional seconds (#929) %N renders the fractional part of the second. The milliseconds returned by getMilliseconds() are the three most significant digits of that fraction and must be zero-pad... push 09 Jul 2026 03:17PM UTC web-flow github
99.55
28804690638 master fix: charge join/json/inspect filters by produced output size (#925) * fix(filters): charge join/array_to_sentence_string by output size join charged memoryLimit by array element count, not by the string it produces, letting concat doubling (che... push 06 Jul 2026 03:55PM UTC web-flow github
99.55
28790598506 master fix: enforce ownPropertyOnly for inherited array indices (#924) * fix: enforce ownPropertyOnly for inherited array indices Route array index access (including negative indices, first/last, and the first/last filters) through a shared readArrayEl... push 06 Jul 2026 12:13PM UTC web-flow github
99.55
28188014204 master fix(filters): modulo should follow divisor sign for negative operands (#922) The `modulo` filter used JavaScript's `%` (truncated remainder, sign follows the dividend). Shopify/Ruby Liquid uses floored modulo, where the result takes the sign of t... push 25 Jun 2026 05:21PM UTC web-flow github
99.54
28016992098 master docs(readme): README overhaul, used-by grid, and docs homepage (#914) * docs(readme): lead with quick start and scannable structure Restructure the README to match common OSS conventions: tagline and badges above the fold, copy-paste Quick start... push 23 Jun 2026 09:39AM UTC web-flow github
99.54
27951652179 master perf(parser): memoize createTrie to avoid rebuilding tries per Tokenizer (#911) The Tokenizer constructor calls createTrie(operators) and createTrie(literalValues) on every instantiation, and liquidjs builds a fresh Tokenizer per output/tag while... push 22 Jun 2026 12:12PM UTC web-flow github
99.54
27951436740 master fix: improve round function; improvement to #873 (#901) push 22 Jun 2026 12:08PM UTC web-flow github
99.54
27913523959 master fix(strip_html): infinite loop for strip_html push 21 Jun 2026 06:28PM UTC web-flow github
99.54
27913444258 master docs: add AGENTS.md and llms.txt for AI agents (#919) Co-authored-by: Cursor <cursoragent@cursor.com> push 21 Jun 2026 06:25PM UTC web-flow github
99.54
See All Builds (1269)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc