2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-02 16:04:04 +03:00

chore(release): publish v4.2.0 (#268)

chore(release): release

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-11-26 13:34:17 +02:00
committed by GitHub
parent 8a9cfd67c0
commit b09f4fa3c7
28 changed files with 550 additions and 72 deletions
+41
View File
@@ -1,5 +1,46 @@
# Change Log
## 4.2.0
### Minor Changes
- [#251](https://github.com/JiLiZART/BBob/pull/251) [`ccab54a`](https://github.com/JiLiZART/BBob/commit/ccab54a4547b67d0ea61644e36ca57fdbe8c6491) Thanks [@JiLiZART](https://github.com/JiLiZART)! - New option flag `caseFreeTags` has been added
This flag allows to parse case insensitive tags like `[h1]some[/H1]` -> `<h1>some</h1>`
```js
import html from "@bbob/html";
import presetHTML5 from "@bbob/preset-html5";
const processed = html(`[h1]some[/H1]`, presetHTML5(), {
caseFreeTags: true,
});
console.log(processed); // <h1>some</h1>
```
Also now you can pass `caseFreeTags` to `parse` function
```js
import { parse } from "@bbob/parser";
const ast = parse("[h1]some[/H1]", {
caseFreeTags: true,
});
```
BREAKING CHANGE: `isTokenNested` function now accepts string `tokenValue` instead of `token`
Changed codecov.io to coveralls.io for test coverage
### Patch Changes
- [#267](https://github.com/JiLiZART/BBob/pull/267) [`8a9cfd6`](https://github.com/JiLiZART/BBob/commit/8a9cfd67c0f1a9fe6cc8cd74b68b7cdf3d393841) Thanks [@JiLiZART](https://github.com/JiLiZART)! - Fix types for BbobCoreOptions
- Updated dependencies [[`ccab54a`](https://github.com/JiLiZART/BBob/commit/ccab54a4547b67d0ea61644e36ca57fdbe8c6491), [`8a9cfd6`](https://github.com/JiLiZART/BBob/commit/8a9cfd67c0f1a9fe6cc8cd74b68b7cdf3d393841)]:
- @bbob/html@4.2.0
- @bbob/preset-html5@4.2.0
## 4.1.1
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@bbob/cli",
"version": "4.1.1",
"version": "4.2.0",
"description": "Comand line bbcode parser",
"bin": {
"bbob": "lib/cli.js"