Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/preactjs/preact-render-to-string

📄 Universal rendering for Preact: render JSX and Preact components to HTML.
https://github.com/preactjs/preact-render-to-string

Fix issue with Preact 6.1+ and the JSX mode where object values for the `class` prop were serialized as objects instead of their normalized string form

debbfe71dab89ee77df76c38a0a62065b5a46d91 authored about 8 years ago by Jason Miller <[email protected]>
3.2.0

bae73d5bb3f294e240ed0e8f0f077cd27dc22a96 authored about 8 years ago by Jason Miller <[email protected]>
Update to preact 6.1 and fix `class`/`className` massaging, fix `class` being left as an Object due to changes in Preact 6.1.

6645dcf2d9626eb99a105b8a208f787f4e14a5b2 authored about 8 years ago by Jason Miller <[email protected]>
3.1.1

5cad8c9fc63796774598d40cc70b03d8c67f622d authored over 8 years ago by Jason Miller <[email protected]>
Add special treatment for `style` and `class` DOM attributes to match DOM renderer

2aed11d43f31defa52ccc6e1fdb6d62d446b36cb authored over 8 years ago by Jason Miller <[email protected]>
3.1.0

53bc99b2f0e4ea745f5f95abb68d81c9a52105ff authored over 8 years ago by Jason Miller <[email protected]>
Update tests to reflect latest changes

2edb6c9400ec547c2970eacf498d32570c3beeaf authored over 8 years ago by Jason Miller <[email protected]>
Add `skipFalseAttributes` option - when set to `false`, turns off DOM attribute skipping. Relates to #4

819b58987c12414c8e3960de07a0b7f515ca490b authored over 8 years ago by Jason Miller <[email protected]>
Add support for disabling function and/or function name comparison in JSX mode

f349943eaa582f340cd6cf56959470e1dfdafee1 authored over 8 years ago by Jason Miller <[email protected]>
3.0.7

49abb38cca713571d0a3b620f91813ee41e1fc3c authored over 8 years ago by Jason Miller <[email protected]>
Dont use self-closing tags in JSX mode

1cbda75e417f3251059218f8c1b231540497952c authored over 8 years ago by Jason Miller <[email protected]>
3.0.6

7c38a65b1a233aaeaf9d2c3172e7684552da5a88 authored over 8 years ago by Jason Miller <[email protected]>
Fix JSX rendering being non-deterministic about empty VNodes

7fabd3f5a0592e65f6c3ef0bb5f73fd4801b5e7c authored over 8 years ago by Jason Miller <[email protected]>
3.0.5

6996c913de89435bb2611a8b9d65ccfa9f3646b8 authored over 8 years ago by Jason Miller <[email protected]>
Add test for null/undefined skipping in JSX mode

7b02836ae9de9e4277b93c6ed742cb78f24e91a9 authored over 8 years ago by Jason Miller <[email protected]>
fix for JSX mode being difficult to assert over due to self-closing tags

fec93c51d0614044ea13900a0adea3366086a9be authored over 8 years ago by Jason Miller <[email protected]>
3.0.4

b661daa52c9fc5ad3cb270fc0558746a09517ff5 authored over 8 years ago by Jason Miller <[email protected]>
Add Symbol polyfill to make pretty-format happy

f7abc6b051adbda649a60dfb4aff2da1de8872cf authored over 8 years ago by Jason Miller <[email protected]>
3.0.3

488bcbc3cf7bc9ce58b43412ee3bae9a8f0ba531 authored over 8 years ago by Jason Miller <[email protected]>
Ack! transpile pretty-format too

bd0db6f070ee3be5f840b5766f04f4f74235d6ba authored over 8 years ago by Jason Miller <[email protected]>
Fix npmignore

047a7302df82ae9b7e5baf05c025c2dc6e8b6c3a authored over 8 years ago by Jason Miller <[email protected]>
3.0.1

06361339c59b7f89c5d8541c3e3a21d74235d056 authored over 8 years ago by Jason Miller <[email protected]>
Run rollup twice to generate two self-contained modules: index.js (the default export) and jsx.js (the test-style renderer)

6c9e01642569c32af1420685be7e4812f1230c3d authored over 8 years ago by Jason Miller <[email protected]>
Add commonjs/npm entrypoint proxy to dist/jsx.js

103c2cc2ce930d5c91b060770970e968ed6b8424 authored over 8 years ago by Jason Miller <[email protected]>
Move JSX (test-style) rendering into separate entrypoint & factor utilities out into a separate file

e9c59ddcce02d3faf38a51ca2f5f4e7a1f671bec authored over 8 years ago by Jason Miller <[email protected]>
3.0.0

9c238b7d3c9fc452e321b1b362e7f14fc89a6b59 authored over 8 years ago by Jason Miller <[email protected]>
cleanup

9d080ef81f5ffe4318576e2a0fc73e1fb62da512 authored over 8 years ago by Jason Miller <[email protected]>
Update devDeps

f7acf9cffb8fe9bf6de166bf86f68196a85d04a2 authored over 8 years ago by Jason Miller <[email protected]>
Update `pretty-format` to remove the need for the Array workaround! 🎉

c4f0f5595d08635100f703e0d1d0a4e7e6f32365 authored over 8 years ago by Jason Miller <[email protected]>
Add pretty-format for handling complex JSX attribute values beautifully

b83521a5b23d91ca2598d5fadd680e07aa8ee719 authored over 8 years ago by Jason Miller <[email protected]>
Merge pull request #8 from mikestead/fix/merge-child-context

Fix issue where child context was replacing instead of augmenting parent context

8171a0f698652f843368de795142e31799a0e280 authored over 8 years ago by Jason Miller <[email protected]>
Fix issue where child context was overwriting parent context

2f591fbb3b6dbd439b62ceb7b4258030d899ef40 authored over 8 years ago by Mike Stead <[email protected]>
2.8.0

e56ff70f55a77e1988b7d94c2f9688e25e5c84bc authored over 8 years ago by Jason Miller <[email protected]>
Invoke `componentWillMount()` for stateful components just before `render()`. Fixes #6. Thanks @mikestead!

5ba648c285da58ebae11c07c7c461ce4a31a0a18 authored over 8 years ago by Jason Miller <[email protected]>
Serialize object style attributes to style strings. Fixes #7. Thanks @rmales!

6194604edd015862089aaa887b42dc01d9b94113 authored over 8 years ago by Jason Miller <[email protected]>
travis: node 6

b7745c6b4cc7ffc668512c084a915bfea21d3bbb authored over 8 years ago by Jason Miller <[email protected]>
2.7.0

f427452b99a08a70204fab8024a1bf4f9a1697f0 authored over 8 years ago by Jason Miller <[email protected]>
Add support for `defaultProps` on both pure and class components (+ tests). Fixes #5.

951bf8a76759757e5b9221467b872cf15777f9ba authored over 8 years ago by Jason Miller <[email protected]>
Switch build to rollup + babel 6 instead of raw babel 5.

3ba6c89daf35994c7382658abdc66ce92744c216 authored over 8 years ago by Jason Miller <[email protected]>
2.6.1

97b440e3f9593dadb92c46c1994f9a259477886f authored over 8 years ago by Jason Miller <[email protected]>
Skip children, key and ref attributes

528b90dbd14c0fdc6da048f2a2e06bbc59368b03 authored over 8 years ago by Jason Miller <[email protected]>
2.6.0

083124da595f13b87cfc603378b4c67633f01776 authored over 8 years ago by Jason Miller <[email protected]>
Fix falsey and boolean attributes so they render properly in HTML and XML modes

1bba6ca4799b16f13bd5de90ca01dfbd3ab94aea authored over 8 years ago by Jason Miller <[email protected]>
Cleanup

Remove commented out code

3554071818eefe9166a6f20222a01bb75a1ee894 authored over 8 years ago by Jason Miller <[email protected]>
2.5.0

32db7c9866a717ec8b005f2130e2b99f821d5944 authored over 8 years ago by Jason Miller <[email protected]>
Tests for `pretty` option

b51655c9f5aa0c44b22bab2ba4f2f5fac0dcf843 authored over 8 years ago by Jason Miller <[email protected]>
Add support for pretty HTML output via a `{pretty:true}` option /cc @drastick

0d5ed344b3a32be99bfba44ac8eeff75eb9edc98 authored over 8 years ago by Jason Miller <[email protected]>
2.4.0

e9a99174baee5f25b28ea9b200bb1b010441e28d authored over 8 years ago by Jason Miller <[email protected]>
Generate globally unique common names for unnamed components, instead of falling back to "Component". Unnamed components are now rendered as `<UnnamedComponent0>`, where `0` is an internal ID. Two identical components (referentially equal) will render with the same name, useful for testing unnamed components.

f1ee6467fe65b296cc6fe3fdca2f0e255fbeeb88 authored over 8 years ago by Jason Miller <[email protected]>
Don't assume Function.prototype exists (it doesn't for ES2015 arrow functions)

ad4630fda15dc8df081a85b4662b933b2fee6880 authored over 8 years ago by Jason Miller <[email protected]>
Add a `renderRootComponent:false` option, which skips invoking render() on a component located at the root of the given JSX tree.

Example: `render(<Foo>a</Foo>)==='<Foo>a</Foo>'`

54b1d9aef155591bbc112d602eab4119ecfcfc28 authored over 8 years ago by Jason Miller <[email protected]>
Fix incorrect doctag for render() (context argument comes before options)

edd667e2d81a63ab7082c91c321a4f1bcd171392 authored over 8 years ago by Jason Miller <[email protected]>
2.3.0

f73b484d5997c4f9d164bfae808182aa12e7f879 authored over 8 years ago by Jason Miller <[email protected]>
Add `sortAttributes` option which, when set to `true`, sorts attributes by name lexicographically

1bc10bae0659d1584945cb3cf54db0cf71f0d09e authored over 8 years ago by Jason Miller <[email protected]>
2.2.0

c51aff18849f13a772ad64edfd94b10e1c94f031 authored almost 9 years ago by Jason Miller <[email protected]>
Merge pull request #3 from i-like-robots/master

Do not close void elements

caf032231c04a50e91bc0fe04c15252a456050a0 authored almost 9 years ago by Jason Miller <[email protected]>
Do not close void elements

03ea212c8cb35888efdcec7308994cb0140bdec0 authored almost 9 years ago by Matt Hinchliffe <[email protected]>
2.1.0

3c1b2bd12d4c8f33fa01e3c6b4d600ecf275ac3d authored almost 9 years ago by Jason Miller <[email protected]>
Skip falsey attributes and children - fixes Issue #2

5abad704402a048cd984d4034201be4fbcf0bdd0 authored almost 9 years ago by Jason Miller <[email protected]>
Update to preact 4 for tests

88911c11648587d26bfd1aa0ad2843fcd8139fa9 authored almost 9 years ago by Jason Miller <[email protected]>
2.0.1

6dca5942ec45726dc9e34ff07e8667b65a002e37 authored almost 9 years ago by Jason Miller <[email protected]>
Fix missing ref

19ac21f8e68fc1796565ce3437dc48e02fee9bf1 authored almost 9 years ago by Jason Miller <[email protected]>
2.0.0

4d32684cb4a73842af91c5290ff6395292f4c838 authored almost 9 years ago by Jason Miller <[email protected]>
Rough merge for 2.x:

- Update preact and add it as a peer dep
- Test for 3.3.0 + shallow + `dangerouslySetInnerHTML`
...

8803718cf59d9e69d09c36fd1de71de1d6c824d3 authored almost 9 years ago by Jason Miller <[email protected]>
Update preact and add it as a peer dep

2ff2aa0cb1fd250029aadde53b07f9399b56460e authored almost 9 years ago by Jason Miller <[email protected]>
Test for 3.3.0 + shallow + `dangerouslySetInnerHTML`

a4728668a805214390abd49c865dcad51f927f42 authored almost 9 years ago by Jason Miller <[email protected]>
Fixes for 3.0.0, add support for shallow rendering, and `dangerouslySetInnerHTML`.

0cdf24cec4f08f356c496648f1e14177692737b3 authored almost 9 years ago by Jason Miller <[email protected]>
1.4.2

aa664a1ab0e2ff79e3c55eb9e3b1503b9708adb3 authored almost 9 years ago by Jason Miller <[email protected]>
Export AMD/Global name as preactRenderToString

da4202b10d6d44ac9d85f052f3184af267538677 authored almost 9 years ago by Jason Miller <[email protected]>
1.4.1

c12691e24912d4c05ec58956dbedbf5e0b9aeb73 authored about 9 years ago by Jason Miller <[email protected]>
Tests for HTML entity encoding

cb1cb6696382109d4bb2042ab04a5c7c2bcbdf2d authored about 9 years ago by Jason Miller <[email protected]>
Fix attribute encoding issues

f1882593691ac91bd060fc27beefaba85b652565 authored about 9 years ago by Jason Miller <[email protected]>
1.4.0

bd43a74ad7178f2d0e6fae8b6b12370eb26c53fd authored about 9 years ago by Jason Miller <[email protected]>
Tests for constructor props

49879b0d1e8cfeef9a8c8f5803b842a8d8597e5c authored about 9 years ago by Jason Miller <[email protected]>
Props should be passed through the constructor for classical components

9c0233b8b96e9faa498f777737a8bcdccbe29082 authored about 9 years ago by Jason Miller <[email protected]>
1.3.0

4eabc1f4dd4490eee1968a8e3651abfa0d2b1e43 authored about 9 years ago by Jason Miller <[email protected]>
Add tests for shallowRender(), and reorganize tests to match new function names

fe2994ab350d9479ea2c4cf755309ec09247fb02 authored about 9 years ago by Jason Miller <[email protected]>
Add support for shallow rendering via `render({ shallow:true })` or `renderShallow()`, and export `render()` as a named method (in addition to being the default export).

aa02ea6ea7aa34e06c82fbf00c0825e1ffc9a430 authored about 9 years ago by Jason Miller <[email protected]>
1.2.0

54426e28356c732734ca2ebee6486ba81aacfedf authored about 9 years ago by Jason Miller <[email protected]>
Tests for class/className support

05a26b48300d21e2fe4358e24e6cbc02435603d7 authored about 9 years ago by Jason Miller <[email protected]>
Add support for managing className VS class

7ed668e3a4e9d3e78415336ed2d8d7e757524665 authored about 9 years ago by Jason Miller <[email protected]>
Lets be very clear about setting jsxPragma

e1d7f470bc3ba95ccfa4e368d776ab8cc0058338 authored about 9 years ago by Jason Miller <[email protected]>
Add isomorphic/universal README example, and a CodePen demo

4f8b54294c6b8c894c2d41ee9658163f16ec63bc authored about 9 years ago by Jason Miller <[email protected]>
1.1.3

47f326608bec89a0c5bf01e742e287f346121b29 authored about 9 years ago by Jason Miller <[email protected]>
Add git repo URL to package.json

b7ea7c735ecba1e62495feed113d751e362c7276 authored about 9 years ago by Jason Miller <[email protected]>
Add preact as a dev dependency

5c622f19821c88b2822de27c0e033a732ba5d9be authored about 9 years ago by Jason Miller <[email protected]>
Add travis-ci

cce475a700d422f57a38d583c8de0815804fc397 authored about 9 years ago by Jason Miller <[email protected]>
1.1.1

34ac3812263a899ae47d658c5a0f0d346293e229 authored about 9 years ago by Jason Miller <[email protected]>
Add MIT license

39eddb6587e13b68dc09fd872da6a68fc03bb126 authored about 9 years ago by Jason Miller <[email protected]>
1.1.0

a62705fd066ff0aca3c7870cd909361507731474 authored about 9 years ago by Jason Miller <[email protected]>
Dont use self-closing tags, skip `null` and `undefined` JSX attributes, simpler prop generation using spread

2109b4c96398a624e3ecd4b320dd10914776da38 authored about 9 years ago by Jason Miller <[email protected]>
Add some basic tests

5e13ddcf1f35a5fbbc617cb15913d64c37dda179 authored about 9 years ago by Jason Miller <[email protected]>
Initial commit of lib

0b4a82063371d1aad6240e163638dce1601fcc70 authored about 9 years ago by Jason Miller <[email protected]>
Initial commit

d2e84ba20e660817afedaa63460aa251d5987960 authored about 9 years ago by Jason Miller <[email protected]>