Commit Graph

35 Commits (v3.4.0)

Author SHA1 Message Date
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 5a5cce2161
chore(test): fix tests for string object children (#983) 4 years ago
Jan van Brügge 30b7df61ab
fix: remove the hero module (#953)
The hero module is very specific and not really a good fit for a low
level library like snabbdom. Users that still want to use it can copy
the code from the hero example instead

ISSUES CLOSED: #517
BREAKING CHANGE:
Snabbdom does not export the hero module any more. If you require this
module, copy the code from examples/hero/hero.js and add it to your
project
4 years ago
Jan van Brügge 02dffe1060
chore(deps): update dependencies 4 years ago
Jan van Brügge 5d5fc5a362
feat: add JSX namespace to jsx factory
This allows the user to use multiple different JSX factory functions in
the same project as each one brings their own types
4 years ago
Jan van Brügge e2a8acab7d
chore(tools): add markdown and import plugin 4 years ago
Jan van Brügge 5a539559ef
chore(refactor): apply eslint hints 4 years ago
Jan van Brügge 37f58835fa
chore(refactor): format code with prettier 4 years ago
Jan van Brügge 8d0a666182
chore(tools): enable eslint with prettier config
ISSUES CLOSED: #709
4 years ago
Shahar Or (mightyiam) dad44f0d63 feat: only esm and correct import paths
BREAKING CHANGE: CommonJS module are no longer provided.
BREAKING CHANGE: import paths in ES modules include file name
extensions.
BREAKING CHANGE: Compiled to ES2015 (was ES5).

Fixes #516.
Fixes #437.
Fixes #263. Kind of. Because there is no build step.

Thanks to @mreinstein on starting this work.
5 years ago
Shahar Or (mightyiam) d5bcb63f7b style: no unnecessary semicolons 5 years ago
Renovate Bot 238e7fc49e chore(deps): update eslint packages 5 years ago
Shahar Or (mightyiam) 2e74269032 chore(deps): update dependency eslint to v7 5 years ago
Shahar Or (mightyiam) ffc166cdb4 style: @typescript-eslint/consistent-type-assertions
Fixes #564.
Fixes #565.
5 years ago
Shahar Or (mightyiam) 97a6279bcc style: eslint rule eqeqeq 5 years ago
Shahar Or (mightyiam) 68cbe83dd2 style: enable eslint rule @typescript-eslint/member-delimiter-style 5 years ago
Shahar Or (mightyiam) 98ed6ffee3 style: enable eslint rule no-unused-expressions 5 years ago
Shahar Or (mightyiam) b0ec1a7bfd style: enable eslint rule no-unused-vars 5 years ago
Shahar Or (mightyiam) 967c016dd1 style: enable eslint rule no-unneeded-ternary 5 years ago
Shahar Or (mightyiam) 320c255975 style: enable eslint rule semi 5 years ago
Shahar Or (mightyiam) 4d33de409a style: enable eslint rule comma-dangle 5 years ago
Shahar Or (mightyiam) 2008705a94 chore: upgrade eslint stack 5 years ago
Shahar Or (mightyiam) b551d93f31 style: enable eslint rule prefer-const 5 years ago
Simon Friis Vindum fe84111d66
Merge pull request #549 from snabbdom/remove-umd
chore: do not provide UMD bundles
5 years ago
Shahar Or (mightyiam) 86488cb8ca style: enable eslint rule one-var 5 years ago
Shahar Or (mightyiam) dd1291f281 style: max-statements-per-line 5 years ago
Shahar Or (mightyiam) 8e24bbf016 chore: do not provide UMD bundles
BREAKING CHANGE: UMD bundles are no longer provided.

Closes #498. Closes #514. Closes #481.
5 years ago
Shahar Dawn Or 814c2e50d7
style: four eslint rules enabled (#548)
- import/newline-after-import
- dot-notation
- import/first
- no-undef
5 years ago
Shahar Dawn Or 2dc536a394
test: strict assertions (#529) 5 years ago
Shahar Dawn Or 6eacf72763
style: no-sequences, no-void, quote-props (#527) 5 years ago
Shahar Dawn Or ad3745bfe8
style: single quotes (#526) 5 years ago
Shahar Dawn Or a2342e6875
style: normalize whitespace (#510) 5 years ago
Simon Friis Vindum 0881343e01 Update TypeScript, refactor 5 years ago
Shahar Or (mightyiam) dcdde2e869 style: @typescript-eslint/array-type 5 years ago
Shahar Or (mightyiam) 4d07d0c39b chore: soft introduce linting 5 years ago