Nikolay Kostyurin
e3727dc5f5
chore(readme): update codesandbox examples
2020-03-26 01:00:52 +02:00
Nikolay Kostyurin
2670fc1288
chore(release): publish v2.5.5
v2.5.5
2020-03-26 00:51:02 +02:00
Nikolay Kostyurin
0a213abbf7
chore(lerna): add options for commit message and publishing
2020-03-26 00:47:00 +02:00
Vladimir
0b74be7830
feat(core): allow to pass dynamic data in options for render ( #59 )
2020-03-16 14:37:36 +02:00
Nikolay Kostyurin
aac1ae0e81
chore(*): update dependencies ( #57 )
...
Updated Rollup
Updated Babel
Fixed security problems with some dependencies
2020-01-22 20:25:42 +02:00
dependabot[bot]
cdc7f66e21
chore(deps): bump handlebars from 4.1.2 to 4.5.3 ( #53 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-01-07 18:38:32 +02:00
Nikolay Kostyurin
b6744e9758
v2.5.4 ( #51 )
v2.5.4
2019-09-25 09:34:56 +02:00
Nikolay Kostyurin
be938fd21f
fix(parser): try to hack terser minifier that removes working code ( #49 )
...
* fix(parser): try to hack terser minifier that removes working code Fixes #48
2019-09-25 09:29:21 +02:00
dependabot[bot]
2c1fbffeb0
chore(deps): bump mixin-deep from 1.3.1 to 1.3.2 ( #46 )
...
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases )
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-09-20 10:03:31 +02:00
Nikolay Kostyurin
50adc1c056
chore: v2.5.3 ( #44 )
2019-08-11 15:32:07 +02:00
Nikolay Kostyurin
597c2a9008
feat(plugin-helper): lowercase resulting tag names ( #42 )
2019-07-28 15:28:46 +02:00
dependabot[bot]
001de51f34
chore(deps): bump lodash from 4.17.10 to 4.17.15 ( #41 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.10 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.15 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-07-20 11:54:19 +02:00
Nikolay Kostyurin
18fa3e9961
chore: ignore benchmark files in Linguist ( #40 )
2019-07-12 16:11:48 +02:00
Nikolay Kostyurin
2827a3edd7
chore: git ignore html5 benchmark files ( #39 )
2019-07-12 16:04:49 +02:00
dependabot[bot]
34a7753301
chore(deps): bump lodash.template from 4.4.0 to 4.5.0 ( #38 )
...
Bumps [lodash.template](https://github.com/lodash/lodash ) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-07-11 13:20:43 +02:00
Nikolay Kostyurin
39d0564b0e
chore: v2.5.2 ( #33 )
2019-06-30 11:41:49 +02:00
Nikolay Kostyurin
b4cf27127f
fix(parser): infinity loop problem when escape [\b] ( #31 )
...
With enableEscapeTags: true, when trying to write [b]test[\b] page is crashed.
Fixes #23
2019-06-30 11:15:10 +02:00
Greg Venech
3d5c1f19d5
fix(bbob-react): remove unique "key" prop warning ( #30 )
...
When using `@bbob/react`s `<BBCode>` component, the following error is thrown
if this change is not included...
```
Warning: Each child in a list should have a unique "key" prop.
```
Mentioned in #28
2019-06-29 18:18:39 +02:00
Greg Venech
aac6358d53
docs: correct react preset usage ( #29 )
...
Users need to spread the `tags` parameter in order to properly `extend` a
preset. You can see the internals of `preset-react` for another example.
2019-06-29 13:29:04 +02:00
Greg Venech
19d7ff20f1
fix(react): fix broken prop type definition ( #27 )
...
You need to pass a valid prop checking function to `PropTypes.arrayOf`. This caused
an error to be thrown in development for me:
```
Warning: Failed prop type: Unexpected token function
```
2019-06-28 10:00:35 +02:00
Vladimir
09ff9af9a2
fix(plugin-helper): avoid some malformed attributes in attrsToString ( #26 )
...
* attrsToString: To avoid some malformed attributes
Error:
```
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at attrsToString
```
This errors appears if no `attrs` setted in custom tag:
```
const BBcodePresetTemp = BbobPresetHTML5.extend((tags: any) => {
tags.br = () => ({
tag: 'br',
// attrs: {}, // <-- Comment this line for error and add [br] to text
content: null,
});
return tags;
});
```
2019-06-27 08:49:28 +02:00
Nikolay Kostyurin
5291543855
chore(bbob): add publish-patch npm command ( #22 )
2019-06-18 10:06:59 +02:00
Nikolay Kostyurin
c4a88e5036
chore: v2.5.1 ( #21 )
...
* fix(parser): fix issue with escaping backslashes when enableEscapeTags is set (#20 )
there is a bug in the lexer where when enableEscapeTags is set, backslashes
are not always escaped (ie. \\[b] is treated as an escaped tag, rather than a
literal backslash, and then a tag).
* chore: v2.5.1
2019-06-18 09:56:21 +02:00
Nikolay Kostyurin
3b46fbe23c
chore: v2.5.0 ( #19 )
2019-06-17 22:30:51 +02:00
Nikolay Kostyurin
847c55e836
feat(preset-html5): list type attribute support ( #18 )
...
now you can use [list=1] or [list=A] to produce <ol type="A"></ol> lists
2019-06-17 22:09:30 +02:00
David Ferguson
c4f78c1230
feat(parse): allow tags to be escaped with backslash ( #17 )
...
* feat(parse): allow tags to be escaped with backslash
adds additional option `enableEscapeTags` to `parse` and `createLexer` that
when true will parse openTag and closeTag as WORD (rather than TAG) when
proceeded with backslash
2019-06-17 21:29:10 +02:00
dependabot[bot]
7e25c45c83
chore(deps): bump handlebars from 4.0.11 to 4.1.2 ( #15 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.0.11 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.11...v4.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-06-15 11:10:04 +02:00
Nikolay Kostyurin
37f43927bf
v2.4.1
v2.4.1
2019-03-29 13:22:45 +02:00
Nikolay Kostyurin
3af3ea8539
fix(react): move @bbob/preset-react to dev deps due to circular deps
2019-03-29 13:21:42 +02:00
Nikolay Kostyurin
c0b4eb7c05
v2.4.0
v2.4.0
2019-03-29 10:37:03 +02:00
Nikolay Kostyurin
dd0056f2b9
chore(benchmark): update benchmark resulting info
2019-03-29 10:35:11 +02:00
Nikolay Kostyurin
e4b38f289f
chore(readme): update @bbob/html usage example
2019-03-29 10:34:04 +02:00
Nikolay Kostyurin
cd2b6fd2fb
feat(core): add tree.messages array and tree.options
...
a way to communicate between plugins
2019-03-29 10:33:26 +02:00
Nikolay Kostyurin
c9e1dabf40
feat(html): @bbob/html now can be used without @bbob/core
2019-03-29 10:29:16 +02:00
Nikolay Kostyurin
788d22e081
v2.3.4
v2.3.4
2019-03-29 10:09:02 +02:00
Nikita Gordeev
1dafb69dc9
fix(react): add prop componentProps ( #9 )
...
Added the ability to add component props componentProps
2019-03-28 18:40:21 +02:00
Nikolay Kostyurin
a8d3c496a3
v2.3.2
v2.3.2
2019-03-10 00:35:42 +02:00
Nikolay Kostyurin
8507557f25
chore(core): remove peer deps
2019-03-10 00:32:32 +02:00
Nikolay Kostyurin
6e0f5bdf92
chore: add descriptions for all package.json files
2019-03-06 00:03:51 +02:00
Nikolay Kostyurin
8b0ceae591
v2.3.1
v2.3.1
2019-03-04 02:52:37 +02:00
Nikolay Kostyurin
8cb1d495dd
refactor(parser): better jsdoc, some behavior fixes, more tests
...
— all operations on nodes moved to `createList` function
- fixed problem with single tags with value only like `[url=value]` fixes #6
- write tests for `Token` class
- moved all node arrays to parse func, now parser supports many instances
- add jsdoc to critical parts of the parser to better understanding how it works
2019-03-04 02:24:12 +02:00
Nikolay Kostyurin
ef6a778f45
refactor(parser): jsdoc, move some utility functions to separate files
2019-03-02 22:21:44 +02:00
Nikolay Kostyurin
ea8358f145
chore(readme): add bundlephobia badges
2019-02-18 21:51:13 +02:00
Nikolay Kostyurin
424c3a86a2
fix: lerna lint command
2018-11-05 00:11:25 +02:00
Nikolay Kostyurin
2bed68fcfd
chore: upgrade common packages
2018-11-05 00:04:17 +02:00
Nikolay Kostyurin
a1d859fdad
chore: add bundle size restrictions to all packages
2018-10-30 23:32:06 +02:00
Nikolay Kostyurin
0fb4e1930b
style(react): eslint errors
2018-10-25 17:39:11 +02:00
Nikolay Kostyurin
0f8071315d
chore(react): tests for options.onlyAllowTags
2018-10-25 16:55:16 +02:00
Nikolay Kostyurin
9d5c537436
v2.3.0
v2.3.0
2018-10-25 16:41:41 +02:00
Nikolay Kostyurin
77b30f3d44
feat(react): allow pass custom options to react component
2018-10-25 16:39:49 +02:00