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

Release 5.0.5 (#107)

b39103a6c154952ff5c868567e26e366367fec29 authored over 5 years ago by Marvin Hagemeister <[email protected]>
Merge pull request #106 from preactjs/pretty_render

Fix pretty option doing nothing

53baf2c0d75c8afa27b4a902d22158cc8bd3885f authored over 5 years ago by Marvin Hagemeister <[email protected]>
Fix pretty option doing nothing

f35acb8250fd46b445a81ba873e62c07819438e0 authored over 5 years ago by Marvin Hagemeister <[email protected]>
Merge pull request #83 from 9renpoto/fix/types

Added type definition tests

470f0980d89a82d42f794a3c20c263abd10b6d9a authored over 5 years ago by Marvin Hagemeister <[email protected]>
fixed jsxFactory

23cd82827fde806d20d01a4b6d67257cf295306f authored over 5 years ago by Keisuke Kan <[email protected]>
Added type definition tests

dbea72f52d665ae21003575cb94c1c6dedb9ac72 authored over 5 years ago by Keisuke Kan <[email protected]>
fix(tsconfig) remove unused options

4dbd0ebb8b79367ae6f96f332efd677efc91857e authored over 5 years ago by Keisuke Kan <[email protected]>
fix(tsconfig) use react jsx

1156584c799c7efd3dbd27b94d3235516ae7681d authored over 5 years ago by Keisuke Kan <[email protected]>
[TS] Make options optional (#101)

Make each Option property optional to allow passing in partial options objects (e.g. `{ pretty: ...

f3fbba3e64f44d59570e017d855a91beb5767fe3 authored over 5 years ago by Andre Wiggins <[email protected]>
Release 5.0.4 (#98)

0b239cf6be73dfe9e074389a7b5050037c007a5e authored over 5 years ago by Marvin Hagemeister <[email protected]>
Fix options.render is private in core (#97)

d1a9b151b07fcb58589e87eea225462407c34f5c authored over 5 years ago by Marvin Hagemeister <[email protected]>
Wrap arrays in Fragment to allow proper rendering (#96)

8a3077f9ff5184da1c83c0fe5cd7fc2858b6d8b2 authored over 5 years ago by Nathan Wong <[email protected]>
Release 5.0.3 (#91)

a102ba821f1075c67bbd12f43dc0fb19e9524040 authored over 5 years ago by Marvin Hagemeister <[email protected]>
Switch from mjs -> js (#89)

932bf294d6e8acdc39d558faf542a2c02a168e6e authored over 5 years ago by Marvin Hagemeister <[email protected]>
Support createContext of preact x (#88)

Support createContext of preact x

8d35c25208dc265789e7fd59516f7b83a45b7532 authored over 5 years ago by Marvin Hagemeister <[email protected]>
Add test for nested Provider

0d2aca2ac1d3a33a5ddcbbfbf18d991fdc629d70 authored over 5 years ago by Sven Tschui <[email protected]>
Support falsy context value

d06e3fa82e8c0607fd101fa9381ace874cb920d4 authored over 5 years ago by Sven Tschui <[email protected]>
Support createContext of preact x

a93830c93cc7befe84cfce195c57a74df147db66 authored over 5 years ago by Sven Tschui <[email protected]>
Allow preact x beta as peer dep (#87)

66b35a17cb2305e38f5e90999439dad7f1509226 authored over 5 years ago by Sven <[email protected]>
Merge pull request #85 from developit/fix_select_value

Fix select value not marking option as selected

e244e6af7e6b23a291a91e2d8b4cf754822779ba authored over 5 years ago by Marvin Hagemeister <[email protected]>
Use loose equality check for select value

d447826add3e59db2b33c567ba5417e2f3d06643 authored over 5 years ago by Marvin Hagemeister <[email protected]>
Fix select value not passed through components

f1e275e3ac78ea3f275bcb7e84ef544d842e4c2d authored over 5 years ago by Marvin Hagemeister <[email protected]>
Pass select value as arg instead of via context

542ea417ec4697b97869336ae34cf18ec1a76133 authored over 5 years ago by Marvin Hagemeister <[email protected]>
Fix select value not marking option as selected

82b7769f5d7e7ac1e4c0771f427982c7a691b1bb authored over 5 years ago by Marvin Hagemeister <[email protected]>
Release 5.0.2

6c7203668000201c88edc3e35635a9ba4c3d4c7c authored over 5 years ago by Marvin Hagemeister <[email protected]>
Add support for Fragments (#79)

* Add support for Fragments

* Add test for sibling Fragments

7d3ccd4975ae0e336d83c020520adb430c2bbb30 authored almost 6 years ago by Marvin Hagemeister <[email protected]>
Resolve crash when using hooks (#77)

fd7fa3759d1d148c8bbb96ccfbf4db5d148ef5e0 authored almost 6 years ago by Colin van Eenige <[email protected]>
5.0.01

8536c758e3d1808bcc18d64cd944da609531d11e authored almost 6 years ago by Jason Miller <[email protected]>
preserve component<->vnode linkage properties when instantiating class components

343deb405d33c998f4b907667fb4147502b3ec0a authored almost 6 years ago by Jason Miller <[email protected]>
Fix wrong value for useContext

e8c1fd811c039e73359c228a32e8de1f1df2521a authored almost 6 years ago by Marvin Hagemeister <[email protected]>
Add basic support for hooks

72dd2b3b3413eb90113e98aed4cbba7973ad2bff authored almost 6 years ago by Marvin Hagemeister <[email protected]>
Run tests on latest node LTS 10.x (#75)

d2d75033ee38797b18764c49e16da3a9409ec4db authored almost 6 years ago by Marvin Hagemeister <[email protected]>
remove commented out code

6e2a9e4b47d56060459c409cad18f14c8da47611 authored almost 6 years ago by Jason Miller <[email protected]>
5.0.0: move to preact 10

d2b784bcd92ca071717e273f22422208483cd595 authored almost 6 years ago by Jason Miller <[email protected]>
[WIP] Update for Preact 10 (#70)

* Update for preact 10

* Update test/render.js

Co-Authored-By: developit <developit@users....

c1659414864657f63f322d7ac691f58f8097ff7e authored almost 6 years ago by Jason Miller <[email protected]>
4.1.0

ef7b0a260f3bf834a7deaf4cb5e8016610c57ed4 authored over 6 years ago by Jason Miller <[email protected]>
Adds support for `getDerivedStateFromProps` (#63)

* Adds support for `getDerivedStateFromProps`

* Adding tests to verify that `getDerivedStateF...

28bb3179a948f1eebe58e036a60eafb18a0f13d7 authored over 6 years ago by John Haitas <[email protected]>
Remove old rollup config

5cb646adb7e887a930e5d6f81d452f85225a2f20 authored over 6 years ago by Jason Miller <[email protected]>
4.0.1

cdd14bb85afd5151d1fbf8c2b5a23ecdd8f97cfa authored over 6 years ago by Jason Miller <[email protected]>
Hack: run microbundle twice to ensure inlined pretty-format is transpiled

90289dcfd8df5933e8c4c975ae32cac4e9ef9fee authored over 6 years ago by Jason Miller <[email protected]>
Externalize pretty-format dependency. It is no longer bundled into preact-render-to-string/jsx

d1e66dc1c9bbcd4d4dff91be794e5bd9427cb70d authored over 6 years ago by Jason Miller <[email protected]>
4.0.0

c06f33491968c95764c655d162da19ca4c5921d3 authored over 6 years ago by Jason Miller <[email protected]>
Update tests for whitespace change

4b805f084b0248db32574136df2a365d0d46d606 authored over 6 years ago by Jason Miller <[email protected]>
Conditionally compile out support for `{ pretty: true }` from the default export. Pretty (whitespace) output is now only supported in `/jsx`.

70f28b12b579f73cfdfa45be8294742154ceef8b authored over 6 years ago by Jason Miller <[email protected]>
Remove Object.keys ponyfill, since this library was never intended to support IE8

116f8e7eebe27dbc9b15fb0113dcfadeda0915e4 authored over 6 years ago by Jason Miller <[email protected]>
3.8.1

9fba820e64352c9f400df7db5ab491e49e0fe67f authored over 6 years ago by Jason Miller <[email protected]>
Include type definition in the npm package. Fixes #51.

d8c6598898d590e5b8d9bd96d8aa3858710542f3 authored over 6 years ago by Jason Miller <[email protected]>
[feature] replace `undefined` prop values with defaultProps (#60)

- mimick preact behaviour
- fix developit/preact-render-to-string#58

547072f1da05fea50604f553c4511ccd6dbf90bf authored over 6 years ago by Fredrik Teschke <[email protected]>
Re-add string coersion to fix #59 (#61)

f4e1c9befafc2be333e782aec05779f02c5ff3fe authored over 6 years ago by Jason Miller <[email protected]>
3.8.0

6342e1ad97c73504a3ea3546d5b4630efb978451 authored over 6 years ago by Jason Miller <[email protected]>
Lint fixes.

9220bcbf3215194f16a1833261dfd3fa3a5e68bf authored over 6 years ago by Jason Miller <[email protected]>
Drop some more bytes. Switch to microbundle and eslint-config-developit.

e10a69bc06253e28fb731964fad7340ecbe4464d authored over 6 years ago by Jason Miller <[email protected]>
shrink void element handling

46e72e9c1c5d5a8e1cc3ce33e04460dc724aa81c authored over 6 years ago by Jason Miller <[email protected]>
Slash size by around 50%. Removes support for object class={{}} values.

9a4136bc565cb9661893487668c822c4f2541c80 authored over 6 years ago by Jason Miller <[email protected]>
Merge branch 'master' into cut-size-in-half

a5607e4005012c84c278cc1b8f8878de6cfc7813 authored over 6 years ago by Jason Miller <[email protected]>
3.7.2

1a309000328465135fc5c10c7ad14320f1af9b21 authored over 6 years ago by Jason Miller <[email protected]>
Add tests for element name protection

49d46ddbd82d46011736d3f639b49942d8b0bce7 authored over 6 years ago by Jason Miller <[email protected]>
Also sanitize nodeName.

5964a5c1ba82f2668d0ba2cacf6e40f04080ecf1 authored over 6 years ago by Jason Miller <[email protected]>
3.7.1

725f9e4bf7338efac0516b33a273b308d57778be authored over 6 years ago by Jason Miller <[email protected]>
Patch attribute name vulnerability.

cc4fa60409e049b53282b180be9d07e820d1efe7 authored over 6 years ago by Jason Miller <[email protected]>
cut the library size in half

05740858a827e968dbc573b44b0c97ed0637a369 authored over 6 years ago by Jason Miller <[email protected]>
ignore package-lock

8ac9a63415110b93a1d43b03ff917cc6ab26ad08 authored over 6 years ago by Jason Miller <[email protected]>
3.7.0

106325d9ef59f7215a91598a858f7f0b13889bf9 authored about 7 years ago by Jason Miller <[email protected]>
Fix {nodeName:undefined} rendering [object Object] (fixes #38) (#47)

2828f24f36aefc34ed736ba8f96f55c9d8050a47 authored over 7 years ago by Jason Miller <[email protected]>
Fix dangerouslySetInnerHTML in JSX mode (Fixes #42) (#46)

aa18e658589db272525125026ba0304b2770600b authored over 7 years ago by Jason Miller <[email protected]>
Skip `true` values as Preact does (#48)

3177a489c03fd80a16a33c6a6d3a341fa0bf2742 authored over 7 years ago by Jason Miller <[email protected]>
Correct & simplify component name detection (Fixes #44) (#45)

* Correct & simplify component name detection (Fixes #44)

* fix me being silly

6ce15190565fafbbbc233acc039d4560fe9042bf authored over 7 years ago by Jason Miller <[email protected]>
Fix babel presets (fixes #35)

ae045b0d5b6d2476ceb6ea0d643cda865866cdb5 authored over 7 years ago by Jason Miller <[email protected]>
New: add TypeScript definitions (#39)

- Try to mimic the Preact TSD.

- Example usage with `noImplicitAny` enabled:

import { re...

393c799f0741eefe1a9844693f4f706f8763b63d authored over 7 years ago by Stephen Niedzielski <[email protected]>
Fix jsx renderer double closing elements (#36)

Fixes #34

0b50eaac95b58fe3e5aa0ef0a942da212fefdfb2 authored over 7 years ago by Marvin Hagemeister <[email protected]>
3.6.3

555a65db89af8289e3ece646ddcbe9c44763be9d authored over 7 years ago by Jason Miller <[email protected]>
Fix issue where multiline attribute values could trigger indentation of children in non-pretty mode. /cc @rauchg

e104abf7cee0f3d859d4f5467982291ed17a9778 authored over 7 years ago by Jason Miller <[email protected]>
3.6.2

796da378e280b083be407251505b4adf19c6d12f authored over 7 years ago by Jason Miller <[email protected]>
Update to preact 8, add test & fix for null child issue

41a00ca61b09a4075e228682e21e4e5e0784b460 authored over 7 years ago by Jason Miller <[email protected]>
3.6.1

237eee434ba748e294c1d68a7372c10f8d47f1d7 authored over 7 years ago by Jason Miller <[email protected]>
Fix and test for disabling stateful re-rendering during string rendering. Fixes developit/preact#524

0b853e984b0e0ade9cf799a392cc4594b0fb4b31 authored over 7 years ago by Jason Miller <[email protected]>
Merge pull request #31 from mikestead/fix/empty-style-attribute

When styles object is empty donโ€™t render style attribute

1a04dc098a24dd916db79990d50a3ebb0c7a6976 authored over 7 years ago by Jason Miller <[email protected]>
When styles object is empty, donโ€™t render style attribute

c7ceedd61d5da7c904bec45cd0e94765aedea35b authored over 7 years ago by Mike Stead <[email protected]>
3.6.0

9075a0801ce496b6ebb524c159f6bb2704892813 authored almost 8 years ago by Jason Miller <[email protected]>
Merge pull request #25 from elliotdavies/fix/close-void-elements

Close void tags with slashes to support XHTML

541b895473c2852f11d6b3451e0bc4fa9d9c4c87 authored almost 8 years ago by Jason Miller <[email protected]>
Update tests to expect space before closing slash

fe53fcf0ea29e1decc1dae82100a81aec8cb5174 authored almost 8 years ago by Elliot Davies <[email protected]>
Include space before closing slash

0ded8d6277397d77f8a5d3f0f09342df767b0513 authored almost 8 years ago by Elliot Davies <[email protected]>
Close void tags with slashes to support XHTML

1f8715028a423788a3f7a15b5b17fe6b487b68f3 authored almost 8 years ago by Elliot Davies <[email protected]>
Merge pull request #23 from mikestead/fix/allow-render-return-false

Render empty value if render returns false

12c766378be1e1d510f785676dcfbf7744cefc55 authored almost 8 years ago by Jason Miller <[email protected]>
Add additional check for inline false boolean

1616453b2ee8dfb77f1974e2bcfba20744bfe1e1 authored almost 8 years ago by Mike Stead <[email protected]>
Render empty value if vnode is false

Currently returning false will render the string โ€˜falseโ€™

React supports returning false or null...

76d2826798af9bf3822f689d756e26854625d336 authored almost 8 years ago by Mike Stead <[email protected]>
3.5.0

fd00b37c6d4c8940f2b930c64656c8f144a53d32 authored almost 8 years ago by Jason Miller <[email protected]>
lint fix

ef6b8fec037e6058254ab8618711e8f362fc5479 authored almost 8 years ago by Jason Miller <[email protected]>
Merge pull request #13 from wildlyinaccurate/render-svg-tags

SVG XLink attributes are rendered incorrectly

3468c7383c8c84cbbef99211333334ecc037c604 authored almost 8 years ago by Jason Miller <[email protected]>
Fix bug where isSvgMode===false in nested SVG child elements

fe97be3c49035f2164d82c99a4b210abb7849fd9 authored almost 8 years ago by Joseph Wynn <[email protected]>
Create test for basic SVG rendering

20427d9f67e773a1bbb1da5388cf944d76069167 authored almost 8 years ago by Joseph Wynn <[email protected]>
Transform XLink attribute names

9b75cbb3659a348c7721857078bd61c00b838084 authored almost 8 years ago by Joseph Wynn <[email protected]>
3.4.1

3a502380faa76df4744cde270673dbb47560b2da authored almost 8 years ago by Jason Miller <[email protected]>
fix performance regression noticed by @lukeed

3bcd68d5d2a852ebd2e4cba311859c5e44258112 authored almost 8 years ago by Jason Miller <[email protected]>
3.4.0

2b45656cd542bf721cebc80a38f417ce502c493a authored almost 8 years ago by Jason Miller <[email protected]>
Update tests to preact 7

8f99a9db2c279c00000026b6c3b39d4bf9e93bec authored almost 8 years ago by Jason Miller <[email protected]>
Add support for boolean attributes with empty string value. Fixes #17

506a4eb457c3253609f7823be2c6d804fd42c289 authored about 8 years ago by Jason Miller <[email protected]>
3.3.0

4bf274f0778b9bf131f23d733e6e35f0adc5c6f3 authored about 8 years ago by Jason Miller <[email protected]>
Empty VNodes should not render comments (to match preact no longer doing so)

56b3859fc4f4d47eae2587e269acf84d30bf1b8d authored about 8 years ago by Jason Miller <[email protected]>
3.2.1

446b2dfd4447fcae554469384fdcf1651ad1f93f authored about 8 years ago by Jason Miller <[email protected]>