1
0
Fork 0
Commit Graph

12 Commits

Author SHA1 Message Date
Sean Sube 06726e91fc fix: replace deprecated utility fns 2022-10-08 16:11:43 -05:00
ssube 25b5651ae9
feat(build): update eslint config, remove tslint plugins 2021-07-10 17:38:08 -05:00
ssube 800f6bb5b2
feat(schema): remove include type from default schema
BREAKING CHANGE: the include type requires a significant subset of
the synchronous fs API to be provided when creating a schema, even
if the include type is never used. Since the resolution must be
synchronous, the include type is limited to local fs and memory
access, and not very useful with network loading. It has been
removed from the default schema, but can be included by calling
`createIncludeSchema` instead.
2021-07-10 15:12:59 -05:00
ssube 05d5acfb1e
feat: add optional base schema to schema options 2021-04-17 18:56:33 -05:00
ssube 51038a412a
fix(include): return schema setter, default to default schema
BREAKING CHANGE: the include type will make a copy of its options
and return a setter for the `schema`, fixing a bug in createSchema
and allowing it to take readonly options rather than mutating them.
2021-03-27 19:31:44 -05:00
ssube fc1f4d01a2
feat: update to js-yaml 4, default schema
BREAKING CHANGE: updates the underlying js-yaml from v3 to v4,
thus including all of the breaking changes from that:
https://github.com/nodeca/js-yaml/blob/master/migrate_v3_to_v4.md.
The API of this module has not changed, but some documents
may be parsed differently, so this is breaking.
2021-03-27 18:34:47 -05:00
ssube 6985a2343e
feat: switch to instantiated API, add `createSchema` entrypoint
BREAKING CHANGE: this allows multiple schemas to coexist, but requires
each schema to be created with a call to `createSchema`, taking a set
of options that includes the former `includeOptions` singleton.
2020-08-08 20:01:34 -05:00
ssube 1d07d7c3ed
feat: add join callback to include options
BREAKING CHANGE: usage of the include type now requires a join option
2020-08-04 00:14:13 -05:00
ssube 70a5fdab3c
lint: annotate exported types with release status 2020-08-01 10:57:05 -05:00
ssube 859baa33f9
fix: refactor duplicate utils into js-utils, export symbols
BREAKING CHANGE: extract typed errors and use the equivalent
from js-utils
2020-03-29 08:13:57 -05:00
ssube 133880c9f8
feat(type): add env, include, regexp, and stream 2019-11-13 08:20:34 -06:00
ssube 33c2936275
feat: new project from template 2019-11-13 08:01:51 -06:00