2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-15 11:59:37 +03:00
Commit Graph

228 Commits

Author SHA1 Message Date
dependabot[bot] c902819374 chore(deps): bump parse-url from 6.0.0 to 6.0.2 (#143)
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](https://github.com/IonicaBizau/parse-url/commits)

---
updated-dependencies:
- dependency-name: parse-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 16:38:40 +02:00
Nikolay Kostyurin 7a705c599a chore: fix publish from packages command 2022-05-24 03:04:31 +02:00
Nikolay Kostyurin 861359a656 chore(release): publish v2.8.1 (#139)
* fix: lerna issue and publish patch

* fix: lerna publish scripts

* chore(release): bump version to v2.8.1
2022-05-24 02:42:33 +02:00
Nikolay Kost 502362cc8c feat(react): update to react 18 and testing-library (#138) 2022-05-24 01:50:45 +02:00
Nikolay Kost d3c9cba8d3 chore: update readme 2022-05-24 01:48:05 +02:00
dependabot[bot] d8b32ac868 chore(deps): bump follow-redirects in /examples/vue2-example (#127)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 17:21:26 +02:00
dependabot[bot] 90a5b390cc chore(deps): bump follow-redirects from 1.14.4 to 1.14.7 (#123)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 11:33:00 +02:00
Nikolay Kostyurin 05a19e7f73 chore: update readme 2021-11-29 01:14:39 +02:00
Nikolay Kostyurin 4e4b1e63dd fix(github): lerna bootsrap before publish 2021-11-29 00:59:02 +02:00
Nikolay Kostyurin d070a66db3 chore(release): publish v2.8.0 (#122)
* chore(lerna): don't publish packages to npm by lerna

* chore(lerna): add publish to npm command

* fix(github): publish using lerna

* chore(lerna): add publish minor

* chore(release): publish v2.8.0
2021-11-29 00:55:29 +02:00
Nikolay Kostyurin da6709d437 feat: update core deps (#120)
* feat: use swc.rs instead of babel

* BREAKING CHANGE: now we use swc.rs as main bundler and transpiler instead of babel
  - jest now uses swc
  - rollup now uses swc

* feat: benchmark now separate package with `npm start` and colored output
  - benchmark as separate package with error throw if package drops performance

* feat: all lerna packages now using scripts/pkg-task

* feat(github): publish to npm and github registry
  - when release was created this action automaticly publish packages to npm and github

* feat(github): move all from Travis CI to Github Actions
  - code analysis and tests now using github actions

* test: increase tests coverage
  - add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
2021-11-29 00:33:06 +02:00
Nikolay Kostyurin 86d1dde106 chore(release): publish v2.7.1 (#121) 2021-11-04 13:30:53 +02:00
Nikolay Kostyurin dad1b6e08b chore: update descriptions of vue2, react and html bbob packages (#118) 2021-10-11 02:22:04 +02:00
CoolSpring8 5b1e95f326 chore: exclude benchmark files (#117) 2021-10-01 10:52:05 +02:00
dependabot[bot] 0c40015c49 chore(deps): bump tmpl from 1.0.4 to 1.0.5 (#114)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-21 02:03:10 +02:00
Dan Polivy 93d802773c fix(react): adjust PropTypes for React Component container (#107)
Augments the existing PropType for the `container` prop of Component to allow for React elements and element types to be passed. The latter allows React Native to better be supported.
2021-06-23 23:27:08 +02:00
dependabot[bot] b7e55a58df chore(deps): bump postcss in /examples/vue2-example (#106)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-18 10:40:14 +02:00
Nikolay Kostyurin 95fa8acfbc chore: exclide benchmark directory from language stats 2021-06-07 00:58:27 +02:00
Nikolay Kostyurin c7e98c2a2a chore: add publish-from-packages command 2021-05-19 23:22:36 +02:00
Nikolay Kostyurin 2b68e22d23 chore: include gitHead to all packages 2021-05-19 23:21:18 +02:00
Nikolay Kostyurin 01b0916b4a chore(release): publish v2.7.0 v2.7.0 2021-05-19 23:00:30 +02:00
Nikolay Kostyurin cbccbaf896 feat: support for vue2 (#88)
* chore: initial setup for vue2 packages

* feat: basic Vue 2 Component

* feat(vue2): add more test cases

* test(preset): add more cases to test in preset

* test(preset-vue2): add more cases to test tags processing

* fix(preset): tag node checking

* test(preset-vue): more coverage for vue preset

* refactor(vue2): move default export to plugin install func

* feat(example-vue2): add vue2 example to examples folder

* chore(example-vue2): remove unused npm scripts

* chore: add vue 2 example in main README

* chore: update package.json descriptions
2021-05-19 19:41:56 +02:00
dependabot[bot] 64b4778cfb chore(deps): bump lodash from 4.17.19 to 4.17.21 in /packages/bbob-react (#98)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 14:24:22 +02:00
dependabot[bot] df95957b5e chore(deps): bump hosted-git-info from 2.6.0 to 2.8.9 (#97)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.6.0 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.6.0...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Kostyurin <JiLiZART@Gmail.com>
2021-05-09 17:04:07 +02:00
dependabot[bot] 032980ef64 chore(deps): bump ua-parser-js in /packages/bbob-react (#96)
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.18 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.18...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 17:00:23 +02:00
dependabot[bot] c63cbdd7ad chore(deps): bump handlebars from 4.7.6 to 4.7.7 (#95)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 01:43:34 +02:00
dependabot[bot] 864e4ec40e chore(deps): bump y18n from 4.0.0 to 4.0.1 (#92)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Kostyurin <JiLiZART@Gmail.com>
2021-05-04 23:37:10 +02:00
dependabot[bot] 663767e079 chore(deps): bump ssri from 6.0.1 to 6.0.2 (#94)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 00:00:27 +02:00
dependabot[bot] fc8db6152d chore(deps): bump elliptic from 6.5.3 to 6.5.4 (#91)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 23:54:04 +02:00
Nikolay Kostyurin 1906c3cd01 chore(release): publish v2.6.2 (#85) 2020-12-17 00:07:56 +02:00
Nikolay Kostyurin cad0e9e7f4 perf(parser): cache nested tokens in Set to prevent deoptimization (#83) 2020-12-16 23:55:17 +02:00
Nikolay Kostyurin 70ff2e6660 fix(parser): dont process nested tags as string if parent is not allowed (#84)
* fix(parser): dont process nested tags as string if parent is not allowed

* fix(plugin-helper): toString method with default params
2020-12-16 23:51:28 +02:00
Nikolay Kostyurin 0d839fa947 chore(readme): add benchmark stats 2020-12-16 03:33:15 +02:00
Nikolay Kostyurin c9aa6b368b chore(release): publish v2.6.1 (#82) 2020-12-16 00:41:01 +02:00
Nikolay Kostyurin 09bda26d7c fix(parser): tag inside tag parsing regression (#81) 2020-12-16 00:29:26 +02:00
dependabot[bot] b131d5f78d chore(deps): bump ini from 1.3.5 to 1.3.7 (#80)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 09:22:32 +02:00
Nikolay Kostyurin 69018b1b1d chore(release): publish v2.6.0 (#79) 2020-12-10 22:36:11 +02:00
Nikolay Kostyurin 772d422d77 feat(parser): rewrite lexer to make it faster (#50)
* feat(parser): first iteration of new lexer

* feat(parser): convert token string props to number props

* refactor(parser): optimize char grabber

* refactor(parser): working on new lexer

* refactor(parser): convert token string props to number props

* refactor(parser): rebuild lexer, add tag attrs parsing

* refactor(parser): rework word parsing and tag parsing

* refactor(parser): rework to pass tests

* refactor(parser): rework tag parsing

* refactor(parser): rework escape tags parsing

* refactor(parser): rework tests

* refactor(parser): all test pass

* refactor(parser): make lexer faster by move mode switching in loop

* refactor(parser): remove all state map objects

* refactor(parser): order of parsing states

* refactor(parser): state switching without return

* refactor(parser): rename buffers to chars

* refactor(lexer): reduce function calls

* feat(lexer): add new parser tests and code to pass it

* fix(utils): remove unused variable in char grabber

* feat(lexer): add test for new lexer bug

* chore(*): add lexer and lexer2 to benchmark

* chore(lexer): add some debug info for char grabber

* feat(parser): add new test for single attributes without values

* fix(lexer): paired tags tests

* refactor(lexer): comment breaking changes tests for future releases

* feat(core): improve tests

* refactor(parser): add more tests, reduce char grabber size

* refactor(parser): reduce utils size

* refactor(parser): remove unused code from tag parsing code

* refactor(parser): remove unused code from word to tag transforming code

* chore(benchmark): fix benchmark imports
2020-12-09 01:03:48 +02:00
Nikolay Kostyurin fda6ddd6ee refactor: reduce dist files sizes (#76)
* fix(parser): plugin-helper import, remove dist file code duplication

* feat(plugin-helper): reduce bundle size, set new limits to 650 bytes

* refactor(preset): html5, react presets to reduce the size of dist files
2020-12-09 00:01:34 +02:00
Nikolay Kostyurin 4e79abb833 chore(release): publish v2.5.9 (#75) 2020-11-16 23:14:33 +02:00
Nikolay Kostyurin 5a7211db91 fix(react): rendering self-closed tags and tags without content (#74) 2020-11-16 22:59:08 +02:00
dependabot[bot] 9c71bb5f26 chore(deps): bump elliptic from 6.5.2 to 6.5.3 (#69)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Kostyurin <JiLiZART@Gmail.com>
2020-10-03 10:40:51 +02:00
dependabot[bot] efaaa57b6f chore(deps): bump bl from 4.0.2 to 4.0.3 (#70)
Bumps [bl](https://github.com/rvagg/bl) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikolay Kostyurin <JiLiZART@Gmail.com>
2020-10-03 10:40:35 +02:00
Nikolay Kostyurin 3fcb5c50a1 chore: add CodeQL analysis 2020-10-03 10:21:46 +02:00
dependabot[bot] b60958d5c5 chore(deps): bump lodash from 4.17.15 to 4.17.19 in /packages/bbob-react (#68)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-20 16:33:37 +02:00
Nikolay Kostyurin cbaa9c6b0d chore: update readme 2020-07-20 13:30:16 +02:00
Nikolay Kostyurin 2eb1fbcccf chore(release): publish v2.5.8 v2.5.8 2020-07-08 19:34:55 +02:00
Nikolay Kostyurin 5ceb2f0fa4 fix(plugin-helper): escape case insensitive javascript: attrs 2020-07-08 19:34:12 +02:00
Nikolay Kostyurin fe6a16b6d9 chore(release): publish v2.5.7 v2.5.7 2020-07-05 15:24:30 +02:00
Nikolay Kostyurin 87f38fe97e fix(html): escape bad html (#67)
* feat(preset-html5): add feature to filter javascript: urls

* fix(plugin-helper): escape html in attrs

* fix(plugin-helper): tests for html escape

* refactor(preset-html5): remove html escape from preset

* feat(preset): add ability to pass and extend preset options
2020-07-05 15:23:22 +02:00