1
0
Fork 0
Commit Graph

16 Commits

Author SHA1 Message Date
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 2a9d5e9ee7 feat: list allowed encodings, include ASCII 2020-09-07 07:08:58 -05:00
ssube 0e6880bc53
feat(include): add flag option to includes 2020-08-09 09:44:11 -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 143e9f5627
fix: remove export alias for include options 2020-08-04 23:06:18 -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 349803de05
lint: remove lodash 2020-08-01 10:16:31 -05:00
ssube 4a58c20ba5 fix(config): update lint to naming-convention rule 2020-07-29 08:32:06 -05:00
ssube 6f5a4aa13e
fix: require encoding overload for include read callback 2020-07-09 06:40:08 -05:00
ssube 972c7f2746
fix(include): schema callback types, tests 2020-06-30 19:34:02 -05:00
ssube 77b6f4cc74
feat(include): allow consumer to provide fs functions via include schema
BREAKING CHANGE: rather than use the `fs` functions (`existsSync`,
`readSync`, etc) to include files, this uses fields of the `includeSchema`.
To maintain the previous functionality, fields should be set as follows:

- `exists = existsSync`
- `read = readSync`
- `resolve = realpathSync`
2020-06-30 08:08:03 -05:00
ssube 3361099729
fix(test): remove problematic invocation of main from index 2020-06-29 18:56:08 -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