Commit Graph

923 Commits (2df8d5865de82ccfe5620f56175c30cd6d9f6d57)
 

Author SHA1 Message Date
Jan van Brügge 2df8d5865d
chore(tools): fix eslint config
Jan van Brügge ef0f0ea864
chore(test): fix test script name in CI
Jan van Brügge 0a4fb34ffa
chore(test): move from deprecated karma to web-test-runner for browser tests ()
Jan van Brügge 6ff10c720b
chore(deps): update devDependencies
ISSUES CLOSED: 
kraktus 420fa78abe
fix README's example ()
To make it compilable by default when copy-pasting.

Co-authored-by: kraktus <kraktus@users.noreply.github.com>
Mike 794f6c210d
fix: minor typo in code comment ()
Jan van Brügge f30fa33707
chore(deps): update devDependencies ()
Jan van Brügge 3be76a428b
chore(release): v3.5.1
Eduardo Rosostolato 230aa23a69
fix(fragment): fixed patching fragment nodes ()
nexteditorjs c21d569333
fix: datasets -> dataset ()
Jan van Brügge fed2f31b89
chore(release): v3.5.0
Jan van Brügge c230eb8ade
feat: notify hooks and modules about textContent changes
Before, it was impossible to act on changes to the text content as it
is not part of `vnode.data`, this is now fixed. To not break modules
that (technically incorrectly) assume that `vnode.data` is always
defined, empty objects are assigned.
Jan van Brügge 9d9275467a
chore(deps): update devDependencies
Jan van Brügge 23b842256f
chore(release): v3.4.0
Jan van Brügge e9a7136a63
chore(docs): update CI status badge
Jan van Brügge 75cc9de952
chore(refactor): run prettier on all files
Jan van Brügge 515bc97c27
fix: use array access instead of string.startsWith
Currently we still support IE11 which does not have that method. Direct
array access solves this problem
Ryota Kameoka dca0b0c9af
feat: export `Options` type ()
Jan van Brügge 47ef5c14e9
feat: toVnode is support dataset ()
ISSUES CLOSED: 

Co-authored-by: DM <dmoosocool@gmail.com>
Censwin ffc9a09bb2
chore(docs): translate README into chinese ()
Jan van Brügge aa4dc9c3a9
chore(deps): update devDependencies
Jan van Brügge b130c26cc1
chore(release): v3.3.1
Censwin 44afd38682
chore(docs): style module does remove styles if removed from the object ()
ISSUES FIXED: 
macarc f89f085f55
fix: ensure SVG namespaces are added to nodes ()
This ensures that SVG namespaces are correct on children and when copying a thunk.

ISSUES CLOSED:  

Co-authored-by: macarc <pipescore@outlook.com>
Co-authored-by: Jan van Brügge <supermanitu@gmail.com>
Jan van Brügge 9de2307dd9
chore(release): v3.3.0
Jan van Brügge 77d6753dd4
chore(test): remove snabbdom benchmarks
The benchmark code was not yet updated to version 3 of snabbdom and
thus cannot be run at the moment. Further, it depends on faker, which is
not available any more. So for now, the benchmark code and all its
dependencies have been removed. In the future we should again add
benchmarks and can reference this commit for some code.
Jan van Brügge cf3e6ac038
chore(deps): update dev dependencies
This also converts the lockfile from version 1 to version 2
Ryota Kameoka 50ff2db407
feat: support JSX fragments ()
ISSUES CLOSED: 
Jan van Brügge ce95a24e73
chore(release): v3.2.0
Jan van Brügge df0f031255
fix: assert that fragment functions are implemented
cary 044dfef8c3
chore(refactor): make patching child vnode more readable ()
Co-authored-by: wangzhangsheng(cary) <wb-wzs728893@alibaba-inc.com>
Ryota Kameoka 9e2cecd249
chore(docs): add a documentation for `fragment` function
Ryota Kameoka 35058798ae
feat: allow DocumentFragment as a container
Ryota Kameoka 7e86386292
feat: support DocumentFragment
Snabbdom now can handle `DocumentFragment` via `fragment` function.
https://developer.mozilla.org/docs/Web/API/DocumentFragment

ISSUES CLOSED: 
Toby Mao e54012e811
chore(docs): remove outdated note about eventlisteners from README
This functionality was always unnecessary, because the example could be done with a curried function for example:
```js
function makeEventListener(number) {
    return (event) => console.log("button " + number + " was clicked!");
}
```

ISSUES FIXED: 
dependabot[bot] 621bbc54cd
chore(deps): bump path-parse from 1.0.6 to 1.0.7 ()
Jan van Brügge 6696e627df
chore(deps): update dev dependencies
shanyue 60832ac91b
chore(tools): add npm run example ()
Jan van Brügge b22e46a9a9
chore(release): v3.1.0
Jan van Brügge 5a5cce2161
chore(test): fix tests for string object children ()
Toby Mao 19d1d29260
feat: allow String and Number objects to be used as children ()
ISSUES FIXED: 
shanyue 79457fdf14
chore(refactor): simplify init() code using "for of" ()
Jan van Brügge 27e9c4d5dc
chore(release): v3.0.3
Jan van Brügge b8707ad68e
fix: build and test code before release
Jan van Brügge ca33a03142
chore(release): v3.0.2
Jan van Brügge 9e7db265ee
chore(deps): update dev dependencies ()
George Treviranus ecc87ab07e
chore(docs): add additional JSX usage information ()
Mike Reinstein 95fa8ad6b6
fix: avoid className check to handle SVG elements within shadow DOM ()
ISSUES FIXED: 
Jan van Brügge 7c93d793f9
chore(deps): update dev dependencies ()
Jan van Brügge 310bd757c7
chore(docs): explain that the repo uses conventional commits
This adds a new section to CONTRIBUTING.md that explains that we are
using conventional commits and that commithelper can be used to create
valid commit messages