Commit Graph

983 Commits (1f6b68255f6c6ac2813df166cb7216be40763900)
 

Author SHA1 Message Date
Avi Radinsky 1f6b68255f
typo in README.md (#1124) 3 months ago
Ame_x b301a92209
refactor: use PropertyKey instaed of key list (#1120) 7 months ago
dependabot[bot] 550fccc1fd
chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#1119)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
Simon Friis Vindum 6796e0a7ae
chore(release): remove publish job for GitHub package repository (#1115) 11 months ago
Brian Gradin 58a013bdfc
fix: restore Typescript intellisense (#1110) 11 months ago
Raphael Schweikert d3ea2cb067
fix: improve handling of class names with unusual whitespace (#1111) 11 months ago
Raphael Schweikert 2e6ef1e3e8
fix: camelize dataset (#1109)
Closes #1013
11 months ago
dependabot[bot] 0dbbba8058
chore(deps-dev): bump ip from 1.1.8 to 1.1.9 (#1108)
Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
12 months ago
Simon Friis Vindum 890dac8d3e
chore(refactor): use modern JS features in additional places (#1107) 12 months ago
Jan van Brügge f3f7b9f561
chore(tools): remove workaround for ts-add-js-extension
Version 1.6.1 fixed the bug upstream
12 months ago
Simon Friis Vindum 5fe9584284 chore(release): v3.6.2 1 year ago
Simon Friis Vindum 438381794e
fix: detect opportunity to insert new vnode earlier for more efficient DOM manipulation (#1106)
ISSUES CLOSED: #1099
1 year ago
Jan van Brügge 07d0645c01
chore(release): v3.6.1 1 year ago
Jan van Brügge 649c760f79
fix: work around bug in ts-add-js-extension (#1105)
ISSUES CLOSED: #1087, #1102
1 year ago
Simon Friis Vindum f511eaa2a6
chore(docs): document the selector property and its use in identifying nodes (#1098)
ISSUES CLOSED: #333
1 year ago
Simon Friis Vindum 97fa1626d0 chore(docs): document that Snabbdom now requires TypeScript 4.1 1 year ago
Simon Friis Vindum 710b319622 chore(release): v3.6.0 1 year ago
Simon Friis Vindum 60c6041590
fix: handle falsy values correctly in the dataset and style modules (#1094)
ISSUES CLOSED: #303, #1093
1 year ago
iambumblehead c063d57f88
fix: allow innerHTML to replace non-empty node, credit @tokichie (#1083)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead ba080f5a4d
fix: detect window.requestAnimationFrame function before calling (#1082)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Simon Friis Vindum 809829de3f
chore(tools): use npm ci instead of npm install (#1095) 1 year ago
Simon Friis Vindum 20d1ce2cc5 chore(refactor): format files with Prettier 1 year ago
iambumblehead d0db5c5c6b
chore(test): enforce prettier format for pull requests using lint ci job (#1081)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Simon Friis Vindum 9deab8150f chore(docs): make minor changes to toVNode documentation 1 year ago
iambumblehead 0bedf23b4d
chore(docs): add attributesModule to first README example (#958) (#1078)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Max Battcher 357c546456
Enhance JSX and VNode types (#1092)
* Enhance JSX types with HTML property auto-complete

Get HTML properties from lib.dom's HTMLTagNameMap.

* Enhance VNode types with style auto-complete

Use lib.dom's ElementCSSInlineStyle for style property names.

* Fix and simplify style type

* Simplify IfEquals for used cases

* Expand ElementProperties

Adding in null | undefined adds the ariaThings properties to autocomplete.
1 year ago
Michael Reinstein 5fa4e84808
fix: correct minimum node version to one that supports modules (#1085)
* fix: correct minimum node version to one that supports modules

* fix: choose the node version that supports esm without any commandline flag
1 year ago
iambumblehead 996d2ddf51
chore(test): increase browserStartTimeout, reduce frequent pipeline timeout failures (#1089)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 404b753654
fix: patch should apply textNodes (#1062)
ISSUES FIXED: #971, #972 

Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 1487e0a1e9
chore(tools): lint all files, simplify npm lint script command (#1074)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead c17b3435af
chore(tools): add lint job to ci pipeline (#1068)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 856f26a52e
chore(test): rename ci job from CI to test-browser (#1075)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Michael Reinstein 7ec0e9018a
fix: generate valid javascript modules in build (#1080)
Before this change snabbdom could only be consumed by bundlers like webpack.
Now we add the `.js` extension to the build outputs so browsers can import the modules directly as well.
ISSUES FIXED: #963
1 year ago
iambumblehead f5fcde33ec
chore(tools): apply prettier-format to all files (#1077)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 49c01df531
chore(tools): remove devdependency lodash-es; used once, ~622kB (#1073)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 87a27eba02
chore(tools): remove un-needed dot-files; .prettierignore (#1076)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Shahar "Dawn" Or 581543e8e2
docs(docs): readme section on related packages (#946)
Co-authored-by: Simon Friis Vindum <simonfv@gmail.com>
1 year ago
iambumblehead d05aec634d
chore(tools): remove devdependency cross-env; un-maintained, not used, ~86kB (#1072)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Jan van Brügge eee7c6f28e
chore(test): move from deprecated pixel phone to oneplus 1 year ago
iambumblehead 13dc0b93aa
chore(tools): remove un-needed dot files; .node-version, .npmignore, .nvmrc (#1071)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead e4862d349a
chore(tools): added github package publishing job, runs when release is created (#1070)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 38ee0df895
chore(tools): convert .eslintrc.cjs to declarative .eslintrc.json (#1069)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 36bd539557
chore(refactor): prettier --write src/init.ts (#1067)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead e9771776ce
chore(test): use actions/checkout@v4, replacing v3 (#1065)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 8c67f426b6
fix: patching namespaced attributes (#1049) (#1061)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead e91d4d150b
chore(docs): reference readme-title image from github (#1064)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
iambumblehead 52d7022116
chore(tools): use npm files directive for smaller publish size (#1063)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago
Simon Friis Vindum 21b6df15c6
Fix link to Hindi translation in readme 1 year ago
Simon Friis Vindum 86627b49a5
Link to Hindi translation of readme 1 year ago
iambumblehead b82c809d60
chore(test): use default concurrency 1, so that local unit tests do not hang (#1060)
Co-authored-by: chris <chris@bumblehead.com>
1 year ago