Webscrapbook

Latest version: v2.3.3

Safety actively analyzes 634607 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 32

2.9.1

* Fixed an issue that the `charset` rule in a CSS file is not correctly handled.
* Fixed an issue that BOM in a CSS file is not taking as highest precedence for charset detection.
* Fixed an issue that the document charset and the `charset` attribute of a `link` element are not honored when determining the encoding of a CSS file.
* Miscellaneous improvements and fixes of the internal code and unit test suite.

2.9.0

* Fixed and improved capture helpers:
* Fixed an issue that many commands do not expand parameters whose value is a command correctly.
* A selector can now reset its reference node using `base` property.
* Added "equal" command.
* "get_html" and "html" commands now support an additional `isOuter` parameter for getting and setting outer HTML.
* "match" command now supports getting named capture groups.
* "insert" command can now move nodes by specifying a selector as nodeData.
* "insert" command now supports "replace" mode.
* "insert" command now automatically escapes the content of the generated comment nodes.
* "decode_uri" command now returns the original string if the input string is malformed.
* Improved localization for zh_CN.
* Improved CSS code for several internal pages.

2.8.2

* Fixed fatal error when a link with an invalid URL is encountered during an in-depth capture.
* Fixed bad tidying of a CSS containing a URL with escaped newlines.
* Fixed bad tidying of a CSS containing a URL with certain escaped chars.
* Fixed bad tidying of a CSS containing a bad URL token.
* Fixed a potential error for the editor and sidebar when dealing with certain special chars.

2.8.1

* Fixed bad tidying of a CSS rule having an attribute selector with a `|=` operator.
* Use `text/javascript` as the default MIME type of `js` files.
* Miscellaneous improvements of the internal code and unit test suite.

2.8.0

* Fixed rewriting of srcset attribute that are separated by alternative spaces.
* Fixed bad URL rewriting in some complicated CSS.
* Fixed bad tidying of a CSS rule containing `:host` or `:host-context`.
* Fixed bad tidying of a CSS rule with a namespaced attribute selector.
* Fixed bad tidying of a nested CSS rule with a selector list.
* Fixed bad tidying of a resource of a font or keyframe referenced by a rule inside a shadow DOM.
* Fixed bad URL rewriting for links in an srcdoc iframe to the main page.
* Fixed bad URL hash rewriting when rebuilding links for an in-depth capture.
* Adjusted parameters handling of a content-type and content-disposition header in some rare cases.
* Miscellaneous improvements of the internal code and unit test suite.
* Added many tests for the internal API and falure tests for known issues..

2.7.0

* Fixed bad referrer when capturing `iframe[srcdoc]` headlessly.
* Fixed possible random errors when capturing an inaccessible `iframe[srcdoc]`.
* No more save `about:` pages for headless frames.
* No more save resources whose URL uses an unsupported protocol.
* Miscellaneous improvements of the internal code and unit test suite.
* Rewrite the unit test suite with mocha.js.

Page 1 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.