2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-14 18:42:24 +03:00

chore(release): publish v4.3.0 (#279)

* chore(release): release

* fix: lock file

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Kost <JiLiZART@Gmail.com>
This commit is contained in:
github-actions[bot]
2025-10-17 13:57:29 +02:00
committed by GitHub
parent 322f88ad42
commit 2677542ccc
34 changed files with 1101 additions and 267 deletions
-17
View File
@@ -1,17 +0,0 @@
---
"@bbob/parser": minor
"@bbob/types": minor
"@bbob/cli": minor
"@bbob/core": minor
"@bbob/html": minor
"@bbob/plugin-helper": minor
"@bbob/preset": minor
"@bbob/preset-html5": minor
"@bbob/preset-react": minor
"@bbob/preset-vue": minor
"@bbob/react": minor
"@bbob/vue2": minor
"@bbob/vue3": minor
---
Now all file protocol urls will be escaped like `file://some/path/to/file` will be converted to `file%3A//some/path/to/file`
-17
View File
@@ -1,17 +0,0 @@
---
"@bbob/parser": minor
"@bbob/types": minor
"@bbob/cli": minor
"@bbob/core": minor
"@bbob/html": minor
"@bbob/plugin-helper": minor
"@bbob/preset": minor
"@bbob/preset-html5": minor
"@bbob/preset-react": minor
"@bbob/preset-vue": minor
"@bbob/react": minor
"@bbob/vue2": minor
"@bbob/vue3": minor
---
Add support `width` and `height` and `alt` for `[img]` tag
-21
View File
@@ -1,21 +0,0 @@
---
"@bbob/cli": patch
"@bbob/core": patch
"@bbob/html": patch
"@bbob/parser": patch
"@bbob/plugin-helper": patch
"@bbob/preset-html5": patch
"@bbob/preset-react": patch
"@bbob/preset-vue": patch
"@bbob/preset": patch
"@bbob/react": patch
"@bbob/types": patch
"@bbob/vue2": patch
"@bbob/vue3": patch
---
fix: proper module resolution in all cases (Node CJS, Node ESM, bundler)
Allow usages of this library in ESM scenarios (Vite SSR, pure Node using ESM) by fixing incorrect exports of the ESM output (use correct .mjs extension, separate types files for CJS and ESM output, package.json fixes)
Fixes #232, #214, #135
-24
View File
@@ -1,24 +0,0 @@
---
"@bbob/parser": patch
"@bbob/types": patch
"@bbob/cli": patch
"@bbob/core": patch
"@bbob/html": patch
"@bbob/plugin-helper": patch
"@bbob/preset": patch
"@bbob/preset-html5": patch
"@bbob/preset-react": patch
"@bbob/preset-vue": patch
"@bbob/react": patch
"@bbob/vue2": patch
"@bbob/vue3": patch
---
Now `React` preset `@bbob/preset-react` supports `color` tag
```js
import preset from '@bbob/preset-react'
import { render } from '@bbob/react'
const html = render('[color=#ff0000]This text should be red[/color]', preset());
```
-27
View File
@@ -1,27 +0,0 @@
---
"@bbob/parser": patch
"@bbob/cli": patch
"@bbob/core": patch
"@bbob/html": patch
"@bbob/plugin-helper": patch
"@bbob/preset": patch
"@bbob/preset-html5": patch
"@bbob/preset-react": patch
"@bbob/preset-vue": patch
"@bbob/react": patch
"@bbob/types": patch
"@bbob/vue2": patch
"@bbob/vue3": patch
---
Now `@bbob/parser` correctly parses nested tags like
```html
Hello World[u]Wrong underline[u] This is another text [u]and this, too[/u]
```
to
```html
Hello World[u]Wrong underline[u] This is another text <u>and this, too</u>
```
Fixes #296, #295
-29
View File
@@ -1,29 +0,0 @@
---
"@bbob/plugin-helper": patch
"@bbob/preset-html5": patch
"@bbob/preset-react": patch
"@bbob/preset-vue": patch
"@bbob/parser": patch
"@bbob/preset": patch
"@bbob/react": patch
"@bbob/types": patch
"@bbob/core": patch
"@bbob/html": patch
"@bbob/vue2": patch
"@bbob/vue3": patch
"@bbob/cli": patch
---
Now `@bbob/parser` in context free tags mode correctly parses
code like
```html
[code][codeButton]text[/codeButton][/code]
```
will be parsed correctly to
```html
<code>[codeButton]text[/codeButton]</code>
```
Fixes #289
-29
View File
@@ -1,29 +0,0 @@
---
"@bbob/parser": minor
"@bbob/types": minor
"@bbob/cli": minor
"@bbob/core": minor
"@bbob/html": minor
"@bbob/plugin-helper": minor
"@bbob/preset": minor
"@bbob/preset-html5": minor
"@bbob/preset-react": minor
"@bbob/preset-vue": minor
"@bbob/react": minor
"@bbob/vue2": minor
"@bbob/vue3": minor
---
Added `whitespaceInTags` parsing option (true by default) with this option you can disable parsing `[tags with spaces]` it will be considered as text
```js
import html5 from '@bbob/preset-html5'
import parse from '@bbob/html'
const html = parse('[b]lorem[/b] [foo bar] [i]ipsum[/i]', html5(), {
whitespaceInTags: false
})
console.log(html) // <b>lorem </b> [foo bar] <i>ipsum</i>
```