Skip to content

Releases: bgotink/kdl

v0.2.0-next.5

08 Oct 20:52
v0.2.0-next.5
0a149cb
Compare
Choose a tag to compare
v0.2.0-next.5 Pre-release
Pre-release

v0.2.0-next.4

02 Apr 21:31
v0.2.0-next.4
c276919
Compare
Choose a tag to compare
v0.2.0-next.4 Pre-release
Pre-release

v0.2.0-next.3

01 Apr 15:21
v0.2.0-next.3
d600707
Compare
Choose a tag to compare
v0.2.0-next.3 Pre-release
Pre-release

No changes, this is a redeploy of v0.2.0-next.2 with a fix in the deployment pipeline

Full Changelog: v0.2.0-next.2...v0.2.0-next.3

v0.2.0-next.2

01 Apr 14:25
v0.2.0-next.2
482643b
Compare
Choose a tag to compare
v0.2.0-next.2 Pre-release
Pre-release

What's Changed

  • Complete rewrite as a zero-dependency hand-written recursive-descent parser
  • Switch to ESM

Full Changelog: v0.2.0-next.1...v0.2.0-next.2

v0.2.0-next.1

01 Mar 22:14
v0.2.0-next.1
f73e76d
Compare
Choose a tag to compare
v0.2.0-next.1 Pre-release
Pre-release

v0.2.0-next.0

17 Feb 12:48
v0.2.0-next.0
6130bb4
Compare
Choose a tag to compare
v0.2.0-next.0 Pre-release
Pre-release

What's Changed

  • Implement KDL 2.0.0-draft.4
  • Drop support for Node < 18

Full Changelog: v0.1.6...v0.2.0-next.0

v0.1.6

06 Nov 14:03
v0.1.6
d7eddec
Compare
Choose a tag to compare

This release contains improvements to the @bgotink/kdl/json endpoint:

  • Add parse and stringify functions that mimic the API of the global JSON object
  • Implement support for reviver parameter when parsing JiK
  • Implement the indentation parameter in stringify

v0.1.5

03 Sep 15:13
v0.1.5
cd8c8e1
Compare
Choose a tag to compare

This release adds a new entrypoint @bgotink/kdl/json which takes a Node or Document in the JSON-in-KDL format and returns the encoded JSON data.

import {parse} from '@bgotink/kdl';
import {toJson} from '@bgotink/kdl/json';

expect(
	toJson(
		parse(
			String.raw`
				- false
			`,
		),
	),
).toEqual(false);