Skip to content

Latest commit

 

History

History
1154 lines (460 loc) · 46.8 KB

CHANGELOG.md

File metadata and controls

1154 lines (460 loc) · 46.8 KB

3.6.9 (2024-10-24)

Bug Fixes

  • ignore base64 encoded src attributes (68859e9)
  • typo in warning message (24fef4a)

3.6.8 (2024-06-02)

Bug Fixes

  • isElement works on elements in an iframe (bc26e3e), closes #667

3.6.7 (2024-03-15)

Bug Fixes

  • properly escape all attribute names (52d159e), closes #650

3.6.6 (2023-11-02)

Bug Fixes

  • handle attributes containing colon (c934498), closes #580

3.6.5 (2023-10-28)

Bug Fixes

  • get rid of TS lint error (3ed48c2)
  • hide Node from NodeJS (a96ee90)
  • prevent typescript error for Dirent.path (63d5fc2)
  • update memo interface (f518f7f)

Features

  • accept HTMLCollection or NodeList as needle (18ce528)

3.6.4 (2022-08-17)

3.6.3 (2022-08-01)

3.6.2 (2022-07-20)

3.6.1 (2022-04-29)

Bug Fixes

  • do not use input's "value" selector (f9eece2), closes #262

3.6.0 (2022-02-21)

Features

  • allow functions in whitelist / blacklist (9ea3eee), closes #212

3.5.4 (2022-01-16)

Bug Fixes

  • respect flags in regex patterns (fed2116), closes #183

3.5.3 (2022-01-15)

Bug Fixes

  • set correct type of "selectors" in options (a845239), closes #48

3.5.2 (2022-01-10)

Bug Fixes

  • ID selector withing shadow DOM (65535da), closes #173

3.5.1 (2022-01-02)

Bug Fixes

  • Shadow DOM support when root is not defined (38f2a69)

3.5.0 (2021-12-21)

3.4.6-3 (2021-12-21)

Bug Fixes

  • type definitions for ESM version (a104c9c)

3.4.6-2 (2021-12-21)

Bug Fixes

3.4.6-0 (2021-12-15)

Features

  • add ESM version of library (e34bdc5)

3.4.5-0 (2021-12-12)

Bug Fixes

3.4.4 (2021-09-08)

Bug Fixes

  • ignore non-sibling elements of nth-of-type (ba9fde1), closes #52

3.4.3 (2021-09-08)

Bug Fixes

  • use CSS.escape to escape selector content (efbbefb), closes #60

3.4.2 (2021-09-07)

Bug Fixes

  • produce safer RegExp for black/whitelists (b1b9feb)

3.4.1 (2021-08-25)

Bug Fixes

  • do not ignore root, use descendant selectors (29e4fc6), closes #78

3.4.0 (2021-08-24)

Features

  • simplified attribute selectors (ed826eb), closes #77

3.3.0 (2021-08-21)

Features

  • maxCombinatios and maxCandidates options (b65858c)

3.2.1 (2021-08-18)

Bug Fixes

  • do not throw on descendant selector in root (96ed377), closes #65

3.2.0 (2021-08-15)

Features

  • add multi element support (3f42092)
  • multi elements support for attribute (a273c02)
  • multi elements support for class (ad367df)
  • multi elements support for fallback (991531d)
  • multi elements support for id (403cb59)
  • multi elements support for nth-child (74443c2)
  • multi elements support for nth-of-type (f481ca6)
  • multi elements support for tag (df4ec59)

3.1.0 (2021-08-14)

Features

3.0.1 (2021-03-20)

Bug Fixes

  • add polyfills needed for generator functions (f0b9d62)

3.0.0 (2021-03-20)

Features

  • add support for child selectors (ac44213)

2.2.2 (2021-03-04)

Bug Fixes

  • fallback selector considers entire hierarchy (2029999)

2.2.1 (2021-02-27)

2.2.0 (2021-02-27)

2.1.3 (2021-01-24)

2.1.2 (2020-07-08)

Bug Fixes

  • do not crash on parent-less element (4549378), closes #41

2.1.1 (2020-06-18)

Bug Fixes

  • ensure element has a parent (95dc8d6), closes #19

2.1.0 (2020-06-11)

Features

  • add support for virtual environments (514027e), closes #40

2.0.1 (2020-02-15)

Bug Fixes

  • ignore class names not suitable for selectors (ea0015d), closes #37

2.0.0 (2020-02-09)

Bug Fixes

  • whitelist takes precedence over blacklist (a3b5dcd)

Features

  • add nth-of-type selector type (e8c5e01)

1.2.0 (2018-11-13)

Features

  • Added attribute_whitelist and attribute_blacklist (6cea39f)
  • added id_blacklist, class_blacklist to options (d2ac0ec)
  • added prefix_tag option (649bc14)
  • Added quote_attribute_when_needed option (15e783f)

1.1.0 (2018-08-14)

1.0.4 (2016-05-21)

Bug Fixes

  • support namespaced tag selectors (d214007)

1.0.2 (2015-12-16)

Bug Fixes

  • add more checks for validity of an ID attribute (3bc5c55), closes #11
  • npm v3 does not install peer dependencies automatically any more (6aedec6)

1.0.1 (2015-11-24)

Bug Fixes

  • define main file for easier require (dbf47d4)
  • when testing combinations, explicitly return null when none is found (4c2299a)

1.0.0 (2015-11-18)

Bug Fixes

  • correctly apply list of selector types when generating unique selector (19ab55d), closes #8

Features

  • keep order of preferred selector types when generating selector (db3149b)
  • use simplest class or attribute selector (a8ca47f)

0.8.0 (2015-11-14)

Bug Fixes

  • better escaping of special characters, especially the colon (6cd0d36)

0.7.0 (2015-09-22)

Features

  • add support for special characters and UTF8 characters in selectors (e6b272f)

0.6.0 (2015-09-20)

Features

0.5.0 (2015-05-09)

Features

0.4.0 (2015-01-02)

Features

  • set list of used selector types in options (0eb56f4)

0.3.2 (2014-12-31)

Features

  • escape special characters in ID and class selectors (93ac2d9), closes #1

0.3.1 (2014-11-26)

Features

  • ignore invalid ID attributes (0726f6c)

3.6.5 (2023-10-28)

Bug Fixes

  • get rid of TS lint error (3ed48c2)
  • hide Node from NodeJS (a96ee90)
  • prevent typescript error for Dirent.path (63d5fc2)
  • update memo interface (f518f7f)

Features

  • accept HTMLCollection or NodeList as needle (18ce528)

3.6.4 (2022-08-17)

3.6.3 (2022-08-01)

3.6.2 (2022-07-20)

3.6.1 (2022-04-29)

Bug Fixes

  • do not use input's "value" selector (f9eece2), closes #262

3.6.0 (2022-02-21)

Features

  • allow functions in whitelist / blacklist (9ea3eee), closes #212

3.5.4 (2022-01-16)

Bug Fixes

  • respect flags in regex patterns (fed2116), closes #183

3.5.3 (2022-01-15)

Bug Fixes

  • set correct type of "selectors" in options (a845239), closes #48

3.5.2 (2022-01-10)

Bug Fixes

  • ID selector withing shadow DOM (65535da), closes #173

3.5.1 (2022-01-02)

Bug Fixes

  • Shadow DOM support when root is not defined (38f2a69)

3.5.0 (2021-12-21)

3.4.6-3 (2021-12-21)

Bug Fixes

  • type definitions for ESM version (a104c9c)

3.4.6-2 (2021-12-21)

Bug Fixes

3.4.6-0 (2021-12-15)

Features

  • add ESM version of library (e34bdc5)

3.4.5-0 (2021-12-12)

Bug Fixes

3.4.4 (2021-09-08)

Bug Fixes

  • ignore non-sibling elements of nth-of-type (ba9fde1), closes #52

3.4.3 (2021-09-08)

Bug Fixes

  • use CSS.escape to escape selector content (efbbefb), closes #60

3.4.2 (2021-09-07)

Bug Fixes

  • produce safer RegExp for black/whitelists (b1b9feb)

3.4.1 (2021-08-25)

Bug Fixes

  • do not ignore root, use descendant selectors (29e4fc6), closes #78

3.4.0 (2021-08-24)

Features

  • simplified attribute selectors (ed826eb), closes #77

3.3.0 (2021-08-21)

Features

  • maxCombinatios and maxCandidates options (b65858c)

3.2.1 (2021-08-18)

Bug Fixes

  • do not throw on descendant selector in root (96ed377), closes #65

3.2.0 (2021-08-15)

Features

  • add multi element support (3f42092)
  • multi elements support for attribute (a273c02)
  • multi elements support for class (ad367df)
  • multi elements support for fallback (991531d)
  • multi elements support for id (403cb59)
  • multi elements support for nth-child (74443c2)
  • multi elements support for nth-of-type (f481ca6)
  • multi elements support for tag (df4ec59)

3.1.0 (2021-08-14)

Features

3.0.1 (2021-03-20)

Bug Fixes

  • add polyfills needed for generator functions (f0b9d62)

3.0.0 (2021-03-20)

Features

  • add support for child selectors (ac44213)

2.2.2 (2021-03-04)

Bug Fixes

  • fallback selector considers entire hierarchy (2029999)

2.2.1 (2021-02-27)

2.2.0 (2021-02-27)

2.1.3 (2021-01-24)

2.1.2 (2020-07-08)

Bug Fixes

  • do not crash on parent-less element (4549378), closes #41

2.1.1 (2020-06-18)

Bug Fixes

  • ensure element has a parent (95dc8d6), closes #19

2.1.0 (2020-06-11)

Features

  • add support for virtual environments (514027e), closes #40

2.0.1 (2020-02-15)

Bug Fixes

  • ignore class names not suitable for selectors (ea0015d), closes #37

2.0.0 (2020-02-09)

Bug Fixes

  • whitelist takes precedence over blacklist (a3b5dcd)

Features

  • add nth-of-type selector type (e8c5e01)

1.2.0 (2018-11-13)

Features

  • Added attribute_whitelist and attribute_blacklist (6cea39f)
  • added id_blacklist, class_blacklist to options (d2ac0ec)
  • added prefix_tag option (649bc14)
  • Added quote_attribute_when_needed option (15e783f)

1.1.0 (2018-08-14)

1.0.4 (2016-05-21)

Bug Fixes

  • support namespaced tag selectors (d214007)

1.0.2 (2015-12-16)

Bug Fixes

  • add more checks for validity of an ID attribute (3bc5c55), closes #11
  • npm v3 does not install peer dependencies automatically any more (6aedec6)

1.0.1 (2015-11-24)

Bug Fixes

  • define main file for easier require (dbf47d4)
  • when testing combinations, explicitly return null when none is found (4c2299a)

1.0.0 (2015-11-18)

Bug Fixes

  • correctly apply list of selector types when generating unique selector (19ab55d), closes #8

Features

  • keep order of preferred selector types when generating selector (db3149b)
  • use simplest class or attribute selector (a8ca47f)

0.8.0 (2015-11-14)

Bug Fixes

  • better escaping of special characters, especially the colon (6cd0d36)

0.7.0 (2015-09-22)

Features

  • add support for special characters and UTF8 characters in selectors (e6b272f)

0.6.0 (2015-09-20)

Features

0.5.0 (2015-05-09)

Features

0.4.0 (2015-01-02)

Features

  • set list of used selector types in options (0eb56f4)

0.3.2 (2014-12-31)

Features

  • escape special characters in ID and class selectors (93ac2d9), closes #1

0.3.1 (2014-11-26)

Features

  • ignore invalid ID attributes (0726f6c)

3.6.4 (2022-08-17)

3.6.3 (2022-08-01)

3.6.2 (2022-07-20)

3.6.1 (2022-04-29)

Bug Fixes

  • do not use input's "value" selector (f9eece2), closes #262

3.6.0 (2022-02-21)

Features

  • allow functions in whitelist / blacklist (9ea3eee), closes #212

3.5.4 (2022-01-16)

Bug Fixes

  • respect flags in regex patterns (fed2116), closes #183

3.5.3 (2022-01-15)

Bug Fixes

  • set correct type of "selectors" in options (a845239), closes #48

3.5.2 (2022-01-10)

Bug Fixes

  • ID selector withing shadow DOM (65535da), closes #173

3.5.1 (2022-01-02)

Bug Fixes

  • Shadow DOM support when root is not defined (38f2a69)

3.5.0 (2021-12-21)

3.4.6-3 (2021-12-21)

Bug Fixes

  • type definitions for ESM version (a104c9c)

3.4.6-2 (2021-12-21)

Bug Fixes

3.4.6-1 (2021-12-21)

3.4.6-0 (2021-12-15)

Features

  • add ESM version of library (e34bdc5)

3.4.5-0 (2021-12-12)

Bug Fixes

3.4.4 (2021-09-08)

Bug Fixes

  • ignore non-sibling elements of nth-of-type (ba9fde1), closes #52

3.4.3 (2021-09-08)

Bug Fixes

  • use CSS.escape to escape selector content (efbbefb), closes #60

3.4.2 (2021-09-07)

Bug Fixes

  • produce safer RegExp for black/whitelists (b1b9feb)

3.4.1 (2021-08-25)

Bug Fixes

  • do not ignore root, use descendant selectors (29e4fc6), closes #78

3.4.0 (2021-08-24)

Features

  • simplified attribute selectors (ed826eb), closes #77

3.3.0 (2021-08-21)

Features

  • maxCombinatios and maxCandidates options (b65858c)

3.2.1 (2021-08-18)

Bug Fixes

  • do not throw on descendant selector in root (96ed377), closes #65

3.2.0 (2021-08-15)

Features

  • add multi element support (3f42092)
  • multi elements support for attribute (a273c02)
  • multi elements support for class (ad367df)
  • multi elements support for fallback (991531d)
  • multi elements support for id (403cb59)
  • multi elements support for nth-child (74443c2)
  • multi elements support for nth-of-type (f481ca6)
  • multi elements support for tag (df4ec59)

3.1.0 (2021-08-14)

Features

3.0.1 (2021-03-20)

Bug Fixes

  • add polyfills needed for generator functions (f0b9d62)

3.0.0 (2021-03-20)

Features

  • add support for child selectors (ac44213)

2.2.2 (2021-03-04)

Bug Fixes

  • fallback selector considers entire hierarchy (2029999)

2.2.1 (2021-02-27)

2.2.0 (2021-02-27)

2.1.3 (2021-01-24)

2.1.2 (2020-07-08)

Bug Fixes

  • do not crash on parent-less element (4549378), closes #41

2.1.1 (2020-06-18)

Bug Fixes

  • ensure element has a parent (95dc8d6), closes #19

2.1.0 (2020-06-11)

Features

  • add support for virtual environments (514027e), closes #40

2.0.1 (2020-02-15)

Bug Fixes

  • ignore class names not suitable for selectors (ea0015d), closes #37

2.0.0 (2020-02-09)

Bug Fixes

  • whitelist takes precedence over blacklist (a3b5dcd)

Features

  • add nth-of-type selector type (e8c5e01)

1.2.0 (2018-11-13)

Features

  • Added attribute_whitelist and attribute_blacklist (6cea39f)
  • added id_blacklist, class_blacklist to options (d2ac0ec)
  • added prefix_tag option (649bc14)
  • Added quote_attribute_when_needed option (15e783f)

1.1.0 (2018-08-14)

1.0.4 (2016-05-21)

Bug Fixes

  • support namespaced tag selectors (d214007)

1.0.3 (2016-05-21)

1.0.2 (2015-12-16)

Bug Fixes

  • add more checks for validity of an ID attribute (3bc5c55)
  • npm v3 does not install peer dependencies automatically any more (6aedec6)

1.0.1 (2015-11-24)

Bug Fixes

  • define main file for easier require (dbf47d4)
  • when testing combinations, explicitly return null when none is found (4c2299a)

1.0.0 (2015-11-18)

Bug Fixes

  • correctly apply list of selector types when generating unique selector (19ab55d)

Features

  • keep order of preferred selector types when generating selector (db3149b)
  • use simplest class or attribute selector (a8ca47f)

0.8.0 (2015-11-14)

Bug Fixes

  • better escaping of special characters, especially the colon (6cd0d36)

0.7.0 (2015-09-22)

Features

  • add support for special characters and UTF8 characters in selectors (e6b272f)