mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-17 19:21:20 +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:
committed by
GitHub
parent
8a9cfd67c0
commit
b09f4fa3c7
@@ -1,42 +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
|
|
||||||
---
|
|
||||||
|
|
||||||
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
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
---
|
|
||||||
"@bbob/react": patch
|
|
||||||
"@bbob/cli": patch
|
|
||||||
"@bbob/core": patch
|
|
||||||
"@bbob/html": patch
|
|
||||||
"@bbob/parser": patch
|
|
||||||
"@bbob/plugin-helper": patch
|
|
||||||
"@bbob/preset": patch
|
|
||||||
"@bbob/preset-html5": patch
|
|
||||||
"@bbob/preset-react": patch
|
|
||||||
"@bbob/preset-vue": patch
|
|
||||||
"@bbob/types": patch
|
|
||||||
"@bbob/vue2": patch
|
|
||||||
"@bbob/vue3": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix types for BbobCoreOptions
|
|
||||||
@@ -1,5 +1,46 @@
|
|||||||
# Change Log
|
# 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
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/cli",
|
"name": "@bbob/cli",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "Comand line bbcode parser",
|
"description": "Comand line bbcode parser",
|
||||||
"bin": {
|
"bin": {
|
||||||
"bbob": "lib/cli.js"
|
"bbob": "lib/cli.js"
|
||||||
|
|||||||
@@ -1,5 +1,47 @@
|
|||||||
# Change Log
|
# 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/parser@4.2.0
|
||||||
|
- @bbob/types@4.2.0
|
||||||
|
- @bbob/plugin-helper@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/core",
|
"name": "@bbob/core",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "⚡️Blazing-fast js-bbcode-parser, bbcode js, that transforms and parses to AST with plugin support in pure javascript, no dependencies",
|
"description": "⚡️Blazing-fast js-bbcode-parser, bbcode js, that transforms and parses to AST with plugin support in pure javascript, no dependencies",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bbcode",
|
"bbcode",
|
||||||
|
|||||||
@@ -1,5 +1,47 @@
|
|||||||
# Change Log
|
# 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/types@4.2.0
|
||||||
|
- @bbob/core@4.2.0
|
||||||
|
- @bbob/plugin-helper@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/html",
|
"name": "@bbob/html",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "A BBCode to HTML Renderer part of @bbob",
|
"description": "A BBCode to HTML Renderer part of @bbob",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"html",
|
"html",
|
||||||
|
|||||||
@@ -1,5 +1,46 @@
|
|||||||
# Change Log
|
# 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/types@4.2.0
|
||||||
|
- @bbob/plugin-helper@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/parser",
|
"name": "@bbob/parser",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "A BBCode to AST Parser part of @bbob",
|
"description": "A BBCode to AST Parser part of @bbob",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bbcode",
|
"bbcode",
|
||||||
|
|||||||
@@ -1,5 +1,45 @@
|
|||||||
# Change Log
|
# 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/types@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/plugin-helper",
|
"name": "@bbob/plugin-helper",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "Set of utils to help write plugins for @bbob/core",
|
"description": "Set of utils to help write plugins for @bbob/core",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bbob",
|
"bbob",
|
||||||
|
|||||||
@@ -1,5 +1,47 @@
|
|||||||
# Change Log
|
# 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/types@4.2.0
|
||||||
|
- @bbob/plugin-helper@4.2.0
|
||||||
|
- @bbob/preset@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/preset-html5",
|
"name": "@bbob/preset-html5",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "HTML5 preset to transform BBCode to HTML for @bbob/parser",
|
"description": "HTML5 preset to transform BBCode to HTML for @bbob/parser",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"preset",
|
"preset",
|
||||||
|
|||||||
@@ -1,5 +1,46 @@
|
|||||||
# Change Log
|
# 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/types@4.2.0
|
||||||
|
- @bbob/preset-html5@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/preset-react",
|
"name": "@bbob/preset-react",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "React preset to transform BBCode to React for @bbob/react",
|
"description": "React preset to transform BBCode to React for @bbob/react",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bbob",
|
"bbob",
|
||||||
|
|||||||
@@ -1,5 +1,46 @@
|
|||||||
# Change Log
|
# 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/types@4.2.0
|
||||||
|
- @bbob/preset-html5@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/preset-vue",
|
"name": "@bbob/preset-vue",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "Vue preset to transform BBCode to Vue for @bbob/vue*",
|
"description": "Vue preset to transform BBCode to Vue for @bbob/vue*",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bbob",
|
"bbob",
|
||||||
|
|||||||
@@ -1,5 +1,46 @@
|
|||||||
# Change Log
|
# 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/types@4.2.0
|
||||||
|
- @bbob/plugin-helper@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/preset",
|
"name": "@bbob/preset",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "Base preset for creating extensible presets for @bbob/core",
|
"description": "Base preset for creating extensible presets for @bbob/core",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"preset",
|
"preset",
|
||||||
|
|||||||
@@ -1,5 +1,48 @@
|
|||||||
# Change Log
|
# 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/types@4.2.0
|
||||||
|
- @bbob/core@4.2.0
|
||||||
|
- @bbob/html@4.2.0
|
||||||
|
- @bbob/plugin-helper@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/react",
|
"name": "@bbob/react",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "A BBCode to React Renderer part of @bbob",
|
"description": "A BBCode to React Renderer part of @bbob",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"react",
|
"react",
|
||||||
|
|||||||
@@ -1,5 +1,42 @@
|
|||||||
# @bbob/types
|
# @bbob/types
|
||||||
|
|
||||||
|
## 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
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/types",
|
"name": "@bbob/types",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "Shared Typescript types of @bbob",
|
"description": "Shared Typescript types of @bbob",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"bbcode",
|
"bbcode",
|
||||||
|
|||||||
@@ -1,5 +1,48 @@
|
|||||||
# Change Log
|
# 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/types@4.2.0
|
||||||
|
- @bbob/core@4.2.0
|
||||||
|
- @bbob/html@4.2.0
|
||||||
|
- @bbob/plugin-helper@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/vue2",
|
"name": "@bbob/vue2",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "A BBCode to Vue2 Renderer part of @bbob",
|
"description": "A BBCode to Vue2 Renderer part of @bbob",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"vue",
|
"vue",
|
||||||
|
|||||||
@@ -1,5 +1,48 @@
|
|||||||
# @bbob/vue3
|
# @bbob/vue3
|
||||||
|
|
||||||
|
## 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/types@4.2.0
|
||||||
|
- @bbob/core@4.2.0
|
||||||
|
- @bbob/html@4.2.0
|
||||||
|
- @bbob/plugin-helper@4.2.0
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@bbob/vue3",
|
"name": "@bbob/vue3",
|
||||||
"version": "4.1.1",
|
"version": "4.2.0",
|
||||||
"description": "A BBCode to Vue3 Renderer part of @bbob",
|
"description": "A BBCode to Vue3 Renderer part of @bbob",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"vue",
|
"vue",
|
||||||
|
|||||||
Reference in New Issue
Block a user