Skip to content

chore(deps): bump @o3co/ts.hocon from 0.1.5 to 1.1.0#14

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/o3co/ts.hocon-1.1.0
Open

chore(deps): bump @o3co/ts.hocon from 0.1.5 to 1.1.0#14
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/o3co/ts.hocon-1.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 14, 2026

Bumps @o3co/ts.hocon from 0.1.5 to 1.1.0.

Release notes

Sourced from @​o3co/ts.hocon's releases.

v1.1.0

Changed

  • Scalar internal representation: scalars now store raw: string + valueType: ScalarValueType instead of typed JS values. This eliminates type erasure (e.g., 0100100) and preserves original text.
  • getString() now returns the raw text for all scalar types (number, boolean, null), matching Lightbend behavior.
  • getDuration() / getBytes() reject boolean and null values with a clear type error.

Fixed

  • include file("path") now resolves relative to CWD instead of the including file's directory, matching Lightbend spec.
  • .33 (no leading zero) now correctly classified as string, not number.
  • Number literal detection restricted to tokens starting with 0-9 or -.
  • Quoted-key include relativization and nested include prefix composition.

Added

  • ScalarValueType type exported from package root.
  • Substitution path segments for correct quoted-key handling.

Full Changelog: o3co/ts.hocon@v1.0.0...v1.1.0

Changelog

Sourced from @​o3co/ts.hocon's changelog.

[1.1.0] — 2026-04-05

Changed

  • Scalar internal representation: scalars now store raw: string + valueType: ScalarValueType instead of typed JS values. This eliminates type erasure (e.g., 0100100) and preserves original text. Note: HoconValue scalar variant changed from { value: string | number | boolean | null } to { raw: string; valueType: ScalarValueType }.
  • getString() now returns the raw text for all scalar types (number, boolean, null), matching Lightbend behavior. Previously it threw on non-string values.
  • getDuration() / getBytes() reject boolean and null values with a clear type error instead of a generic parse error.
  • Env var lookup uses raw dot-join instead of segmentsToKey (no quoting), matching Lightbend behavior.

Fixed

  • include file("path") now resolves relative to the process working directory (CWD) instead of the including file's directory, matching Lightbend reference behavior. Bare include "path" is unchanged (resolves relative to including file).
  • .33 (no leading zero) now correctly classified as string, not number — aligned with Lightbend reference implementation.
  • Number literal detection restricted to tokens starting with 0-9 or -. 0xff, Infinity, etc. are no longer classified as numbers.
  • Quoted-key include relativization: ${"a.b".c} inside included files now resolves correctly.
  • Nested include prefix composition: multi-layer includes accumulate prefixes correctly.

Added

  • ScalarValueType type exported from package root.
  • Substitution path segments: SubstPlaceholder uses segments: string[] for correct quoted-key handling.

[1.0.0] — 2026-04-04

Added

  • getDuration(path, unit?) — parse HOCON duration strings (30s, 5m, 2h) with configurable output unit (default: ms)
  • getBytes(path, unit?) — parse HOCON byte size strings (512MB, 1GiB) with configurable output unit (default: bytes)
  • DurationUnit and ByteUnit types exported from package root
  • .properties file support for includes (P1)
  • include required() and include required(file()) directives
  • Include depth limit (max 50 levels)
  • TypeDoc API documentation deployed to GitHub Pages on minor/major releases
  • Security Considerations section in README
  • Known Limitations section in README
  • Performance benchmarks in README

Fixed

  • Include probing: changed from first-match to merge-all per HOCON spec
  • Include probe order: .properties → .json → .conf (.conf wins via last-merge-wins)
  • \uXXXX unicode escape validation in lexer
  • Error on unknown escape sequences in quoted strings
  • Circular include check moved before file read
  • parseBytes supports fractional values and case-insensitive units
  • Stray } after braced root now errors
  • Package metadata: license, engines, homepage, bugs fields added

Changed

... (truncated)

Commits
  • efed96b fix: skip Lightbend expected-JSON tests when testdata not fetched (#63)
  • 9e5a971 release: v1.1.0 (#62)
  • 92dfe2b fix: resolve include file() paths relative to CWD (#61)
  • 5dff1bf docs: add Unreleased changelog for scalar raw string refactor (#60)
  • 870ae66 refactor: store scalars as raw string + valueType (#59)
  • 2018a0b fix: convert SubstPlaceholder.path to segments array (#56)
  • b660724 refactor: convert lexer and parser to class-based architecture (#51) (#52)
  • 38576b6 refactor: split resolver into focused class-based modules (#25) (#50)
  • c7374c6 feat: relativize substitution paths in nested includes (#47)
  • b4330cd fix: implement delayed merge for objects with prior substitution values (#43)...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 14, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/o3co/ts.hocon-1.1.0 branch from addff67 to 1a21148 Compare April 24, 2026 17:26
Bumps [@o3co/ts.hocon](https://github.com/o3co/ts.hocon) from 0.1.5 to 1.1.0.
- [Release notes](https://github.com/o3co/ts.hocon/releases)
- [Changelog](https://github.com/o3co/ts.hocon/blob/develop/CHANGELOG.md)
- [Commits](o3co/ts.hocon@v0.1.5...v1.1.0)

---
updated-dependencies:
- dependency-name: "@o3co/ts.hocon"
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/o3co/ts.hocon-1.1.0 branch from 1a21148 to 7bcf469 Compare April 24, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants