v0.23.0
- DX Improved.
- Optimized performance.
- Updated code quality.
- Updated tests.
- Fixed types.
- Fixed coverage script.
v0.22.0
- DX Improved.
- CheerioOptions and Fragment Mode support added.
parse(data, config, options?: CheerioOptions, isDocument?: boolean)
v0.21.0
- Dependencies updated.
- Naming improved.
- Micro optimizations performed.
v0.20.0
- Code refactor
TypeScript
upgrade tov5.3.3
v0.19.0
- The
fill
property now accepts falsy values other thanundefined
.
{
fill: null | false | '';
}
v0.18.0
- Add
element
parameter totransform
v0.17.0
- Add
arrayTransform
support.
v0.16.0
- Add
CheerioAPI
as second parameter toSchemaGenerator
schema: (el: Cheerio<Element>, $: CheerioAPI) => {};
v0.15.0
- Remove unused
validateConfig
feature. - Update dependencies.
- Update npmignore file.
v0.14.0
- Add multiple attribute support.
v0.13.0
- Rename
ignore-kids
option asignore-children
.
v0.12.4
- Fix: Empty selectors handled.
v0.12.3
- Make
selector
property optional and acceptSelector[]
asConfig
v0.12.2
- Schema props are set to
null
when selectors do not return a match.
v0.12.1
- Added basic schema extract test.
v0.12.0:
- Rename
size
method withlength
.
v0.11.0:
- The
InputConfig
removed. - The
Config
interface
converted to atype
and replaced theInputConfig
. Selector
can only bestring
(wasstring | string[]
)transform
function takesValue<Initial>
as argument, instead ofany
.ConfigFunction
renamed toSchemaGenerator
.RawConfig.schema
's type is set toSchemaGenerator | Schema
.getSelector
renamed toparseSelector
.
v0.9.1:
- Ignored
null
values returned fromcheerio.html()
.
v0.9.0:
- Added
ignoreIntersectingElements?: 'ignore-kids' | 'ignore-parents';
toRawConfig
. - Converted
RawConfig
andConfig
classes tointerface
.