Jan van Brügge
0a4fb34ffa
chore(test): move from deprecated karma to web-test-runner for browser tests ( #1052 )
1 year ago
Jan van Brügge
6ff10c720b
chore(deps): update devDependencies
...
ISSUES CLOSED : #1051
1 year ago
kraktus
420fa78abe
fix README's example ( #1048 )
...
To make it compilable by default when copy-pasting.
Co-authored-by: kraktus <kraktus@users.noreply.github.com>
2 years ago
Mike
794f6c210d
fix: minor typo in code comment ( #1043 )
2 years ago
Jan van Brügge
f30fa33707
chore(deps): update devDependencies ( #1036 )
2 years ago
Jan van Brügge
3be76a428b
chore(release): v3.5.1
3 years ago
Eduardo Rosostolato
230aa23a69
fix(fragment): fixed patching fragment nodes ( #1015 )
3 years ago
nexteditorjs
c21d569333
fix: datasets -> dataset ( #1020 )
3 years ago
Jan van Brügge
fed2f31b89
chore(release): v3.5.0
3 years ago
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.
3 years ago
Jan van Brügge
9d9275467a
chore(deps): update devDependencies
3 years ago
Jan van Brügge
23b842256f
chore(release): v3.4.0
3 years ago
Jan van Brügge
e9a7136a63
chore(docs): update CI status badge
3 years ago
Jan van Brügge
75cc9de952
chore(refactor): run prettier on all files
3 years ago
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
3 years ago
Ryota Kameoka
dca0b0c9af
feat: export `Options` type ( #1005 )
3 years ago
Jan van Brügge
47ef5c14e9
feat: toVnode is support dataset ( #1008 )
...
ISSUES CLOSED : #976
Co-authored-by: DM <dmoosocool@gmail.com>
3 years ago
Censwin
ffc9a09bb2
chore(docs): translate README into chinese ( #1002 )
3 years ago
Jan van Brügge
aa4dc9c3a9
chore(deps): update devDependencies
3 years ago
Jan van Brügge
b130c26cc1
chore(release): v3.3.1
3 years ago
Censwin
44afd38682
chore(docs): style module does remove styles if removed from the object ( #1001 )
...
ISSUES FIXED : #1000
3 years ago
macarc
f89f085f55
fix: ensure SVG namespaces are added to nodes ( #996 )
...
This ensures that SVG namespaces are correct on children and when copying a thunk.
ISSUES CLOSED : #388 #867
Co-authored-by: macarc <pipescore@outlook.com>
Co-authored-by: Jan van Brügge <supermanitu@gmail.com>
3 years ago
Jan van Brügge
9de2307dd9
chore(release): v3.3.0
3 years ago
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.
3 years ago
Jan van Brügge
cf3e6ac038
chore(deps): update dev dependencies
...
This also converts the lockfile from version 1 to version 2
3 years ago
Ryota Kameoka
50ff2db407
feat: support JSX fragments ( #974 )
...
ISSUES CLOSED : #560
3 years ago
Jan van Brügge
ce95a24e73
chore(release): v3.2.0
3 years ago
Jan van Brügge
df0f031255
fix: assert that fragment functions are implemented
3 years ago
cary
044dfef8c3
chore(refactor): make patching child vnode more readable ( #992 )
...
Co-authored-by: wangzhangsheng(cary) <wb-wzs728893@alibaba-inc.com>
3 years ago
Ryota Kameoka
9e2cecd249
chore(docs): add a documentation for `fragment` function
3 years ago
Ryota Kameoka
35058798ae
feat: allow DocumentFragment as a container
3 years ago
Ryota Kameoka
7e86386292
feat: support DocumentFragment
...
Snabbdom now can handle `DocumentFragment` via `fragment` function.
https://developer.mozilla.org/docs/Web/API/DocumentFragment
ISSUES CLOSED : #560
3 years ago
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 : #988
3 years ago
dependabot[bot]
621bbc54cd
chore(deps): bump path-parse from 1.0.6 to 1.0.7 ( #986 )
3 years ago
Jan van Brügge
6696e627df
chore(deps): update dev dependencies
3 years ago
shanyue
60832ac91b
chore(tools): add npm run example ( #982 )
3 years ago
Jan van Brügge
b22e46a9a9
chore(release): v3.1.0
3 years ago
Jan van Brügge
5a5cce2161
chore(test): fix tests for string object children ( #983 )
3 years ago
Toby Mao
19d1d29260
feat: allow String and Number objects to be used as children ( #979 )
...
ISSUES FIXED : #977
3 years ago
shanyue
79457fdf14
chore(refactor): simplify init() code using "for of" ( #980 )
3 years ago
Jan van Brügge
27e9c4d5dc
chore(release): v3.0.3
4 years ago
Jan van Brügge
b8707ad68e
fix: build and test code before release
4 years ago
Jan van Brügge
ca33a03142
chore(release): v3.0.2
4 years ago
Jan van Brügge
9e7db265ee
chore(deps): update dev dependencies ( #968 )
4 years ago
George Treviranus
ecc87ab07e
chore(docs): add additional JSX usage information ( #967 )
4 years ago
Mike Reinstein
95fa8ad6b6
fix: avoid className check to handle SVG elements within shadow DOM ( #966 )
...
ISSUES FIXED : #965
4 years ago
Jan van Brügge
7c93d793f9
chore(deps): update dev dependencies ( #962 )
4 years ago
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
4 years ago
Jan van Brügge
66d08e4861
chore(tools): do not use npm exec in git hooks
...
`npm exec` was added in npm version 7, so users of older versions of
npm will get a very weird error and are not able to commit
4 years ago
Jan van Brügge
714f4ad770
chore(tools): enable the use of secrets on PRs from forks
...
The only secret that is configured is the access key for browserstack.
The worst case of getting it extracted is that someone can run tests on
browserstack with our account. The snabbdombot user has no admin
privileges, so in that case we can just issue a new access key
4 years ago