Ecosyste.ms: OpenCollective

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

github.com/cheeriojs/cheerio

The fast, flexible, and elegant library for parsing and manipulating HTML and XML.
https://github.com/cheeriojs/cheerio

Rewrite `data` internals with caching behavior

Defer the storage and type coercion of HTML5 `data-*` attributes until a
read operation. At this...

2734b09133ae236e18bb35b2f8cc5426e5743d06 authored over 10 years ago by Mike Pennisi <[email protected]>
Merge pull request #470 from kevinsawicki/patch-1

Fence .val example as js

de03a0f41ed341a44d1acf263735e239d8a22e34 authored over 10 years ago by David Chambers <[email protected]>
Fence .val example as js

6ab5596c2826fc154fe08e2a1946b1ab2245f799 authored over 10 years ago by Kevin Sawicki <[email protected]>
Merge pull request #468 from attomos/master

Fixed typos. Deleted trailing whitespace from test/render.js

fb4b5a5e982635a1f593c545f1b7b88f04097f1a authored over 10 years ago by David Chambers <[email protected]>
Fixed typos. Deleted trailing whitespace from test/render.js

98f94636f342ccf58d9b8eb9e1dd150f34e0c653 authored over 10 years ago by Nattaphoom Ch <[email protected]>
fixed context of `this` in .html

071e23698d67ec9cffaf5f34887a4ea665a37fb8 authored over 10 years ago by Felix Böhm <[email protected]>
Merge pull request #459 from kpdecker/reentrant-remove

Fix manipulation APIs with removed elements

a60ff7923557410b8cd6c340a4a96942e2314769 authored over 10 years ago by David Chambers <[email protected]>
Fix manipulation APIs with removed elements

1eb96e70745d3cf0153d9247e0e78596b3f1b883 authored over 10 years ago by kpdecker <[email protected]>
append new elements for each element in selection

fixes #438

4a505763e7128612df1e6815b9cb3fc9d4e30af0 authored over 10 years ago by fb55 <[email protected]>
Merge pull request #452 from kpdecker/removal-fixes

Fix existing element removal

557eee1484cb9cc35803a7f9e167c95c1603aee2 authored over 10 years ago by Felix Böhm <[email protected]>
Merge pull request #453 from kpdecker/hasclass-opt

Perform manual string parsing for hasClass

545816e856d19febb428b3d8f371825caaa3117d authored over 10 years ago by Felix Böhm <[email protected]>
Perform manual string parsing for hasClass

This is faster and avoids additional memory pressure from temporary array objects.

Test: attrib...

ede296e04f487a011fd7545a0cefceca4908e2b8 authored over 10 years ago by kpdecker <[email protected]>
Fix existing element removal

Fixes element removal from both existing nodes and root nodes. The former is a bug in the implem...

4d49d3cc6b642d0463123204299d3df4083f8191 authored over 10 years ago by kpdecker <[email protected]>
update render tests

96c6dfb8a8fef15f556b22d4b5e22a5748fb2519 authored over 10 years ago by Felix Böhm <[email protected]>
fixed cheerio path

[ci ignore]

d3f05f934f54e017cd210a4d80bf7cdbef813671 authored over 10 years ago by Felix Böhm <[email protected]>
use `entities.escape` for attribute values

partially fix for #319 (`&apos;` won't be used anymore)

5ef77864a5671e07539c76f202b628fd7af3f1e9 authored over 10 years ago by Felix Böhm <[email protected]>
bump entities version

1aac761874e262f8747dc0503f2262d2c360bf3b authored over 10 years ago by Felix Böhm <[email protected]>
Merge pull request #444 from cheeriojs/render_cleanup

render.js cleanup

99810b230042f7a76419e61ac2e2f1aeba1b9351 authored over 10 years ago by Felix Böhm <[email protected]>
remove lowerCaseTags option from readme

fixes #446

a117d92fe0939fe06ff45c022d1bc4506df80211 authored over 10 years ago by Felix Böhm <[email protected]>
Merge pull request #448 from cheeriojs/html_context_switch

Render xml in `html()` when `xmlMode: true`

ccf11866e61103e7cb2b4cd26d4905cfdcdd6ef8 authored almost 11 years ago by Matthew Mueller <[email protected]>
added test case for .html in xmlMode

db4c76d4efeb0ef323f65a9090240190ca61e24b authored almost 11 years ago by fb55 <[email protected]>
render xml in `html()` when `xmlMode: true`

3c6e419c470af9746751169455e37825ab99b576 authored almost 11 years ago by fb55 <[email protected]>
Merge pull request #440 from cheeriojs/decode_entities_htmlparser2

fixes #248, #194, #445

24e9c43d992aed13435143e0cd8cf754b8b056b0 authored almost 11 years ago by Felix Böhm <[email protected]>
use a map for booleanAttributes

attributes are now lowercased by default, so using a regexp isn't
required anymore

07c755ff98b3dcb39b62ccdfb14e05fb9938a08d authored almost 11 years ago by fb55 <[email protected]>
update singleTags, use utils.isTag

also set `__proto__` of singleTag to `null`, so eg. tags named
`hasOwnProperty` won't be recognized

8ef2dbaf9adeacfa4077ad612e4d92d7b5a4f558 authored almost 11 years ago by fb55 <[email protected]>
Merge pull request #443 from cheeriojs/<3_primitives

Primitives <3

9a06c6588cb2b72c3977f8be6bbd0677006ec607 authored almost 11 years ago by Felix Böhm <[email protected]>
update travis badge URL

042a9e5e82c603fa90a09317e1274c476e38c2f2 authored almost 11 years ago by Felix Böhm <[email protected]>
use typeof instead of _.isString and _.isNumber

9b9fca5ae09051d7e4a211a077da9dea05c1544c authored almost 11 years ago by fb55 <[email protected]>
use Array.isArray instead of _.isArray

3b8a9a89d95c6bb8f06201d27f0f4cb7641ec6d8 authored almost 11 years ago by fb55 <[email protected]>
replace _.isFunction with typeof

e37b10493c92a06953a98f41727aeef003d7e3d7 authored almost 11 years ago by fb55 <[email protected]>
Merge pull request #439 from MatthewMueller/pass_options_to_cssselect

Pass options object to CSSselect

187e36484d15c3e87ddd631d5d72d9c23bb1e71f authored almost 11 years ago by Matthew Mueller <[email protected]>
removed unnecessary error message

only used to ensure every call contained this setting

958c3e681890a91779ba44883c74acdc0fa72793 authored almost 11 years ago by fb55 <[email protected]>
decode entities in htmlparser2

fixes #248

This changes how text nodes are stored in the DOM: They are now
unescaped by default...

826b9f85fe7f2a20ecbaf991258a7a31cb755a89 authored almost 11 years ago by fb55 <[email protected]>
Release 0.15.0

9856f265ebe7c5911070058ce60bc0a648795b71 authored almost 11 years ago by Matthew Mueller <[email protected]>
update package.json

18990e298ef208ae244268ca262ac83c2871b08c authored almost 11 years ago by Matthew Mueller <[email protected]>
pass options object to CSSselect

d0dc73294f61dfd7cc0e7a20d0c8e53c29fe677a authored almost 11 years ago by fb55 <[email protected]>
update contributors list

0944fbcfc3c78241f5f8657f5aa4f05b41737063 authored almost 11 years ago by Matthew Mueller <[email protected]>
Update callbacks to pass element per docs

https://github.com/MatthewMueller/cheerio/blob/master/Readme.md#each-functionindex-element-

Thi...

53e7e259a64d35d2d07e88ee3ff0bfade2c5ab7a authored almost 11 years ago by kpdecker <[email protected]>
Merge pull request #437 from MatthewMueller/preserve_options

Preserve options

e478de2fecf102f07c4c42e644938f6b5245e2a3 authored almost 11 years ago by Matthew Mueller <[email protected]>
move makeDomArray to prototype

a1f289680fe8d713ca7f6e41caf1ae61434f666d authored almost 11 years ago by fb55 <[email protected]>
Merge pull request #386 from kpdecker/opt-add-class

Optimize add and remove class cases

35fc758d15a8fde59f54c497d9574a37a8230524 authored almost 11 years ago by Matthew Mueller <[email protected]>
Merge pull request #337 from finspin/parentsUntil

Added parentsUntil() method (issue #144)

8da8c3d34403b7cbb5d33de41c44a5649d697db3 authored almost 11 years ago by Matthew Mueller <[email protected]>
replace remaining `new Cheerio` with `.call`

I'm not sure the behavior is the same (it's now equal to the code above)

a15e9e3b20b694ea95620c26c84b2ff5a3bbb113 authored almost 11 years ago by fb55 <[email protected]>
remove lowerCaseTags from default options

caused failure of test cases (htmlparser2's behavior depends on the
existence of the property)

...

0c595d1b4ca7ae8896ad43aadf661ebbc7d452ba authored almost 11 years ago by fb55 <[email protected]>
added options argument to .load

cc8a10ab7f2c711616611c88317b140e84d8408c authored almost 11 years ago by fb55 <[email protected]>
pass options to `parse` and `evaluate`

e47997084fae4114ccc4484a5ba4f8fe28d3ae7c authored almost 11 years ago by fb55 <[email protected]>
fixed jshint errors in tests

82da920405149856d403ccb1975ca2eed1014ac3 authored almost 11 years ago by fb55 <[email protected]>
preserve options in _make

f55bd3518be2c25262b09085c84ca2cd48af7baf authored almost 11 years ago by fb55 <[email protected]>
added `options` argument to constructor

as proposed by @jugglinmike in #274, but using `this.options` instead
of the prototype to enable...

d163a2dfc7f26089a6725766dc773101c9ebf5e1 authored almost 11 years ago by fb55 <[email protected]>
added test case for preserving options

as proposed by @jugglinmike in #274

71216faaf812a014932618483e370abc5e02819b authored almost 11 years ago by fb55 <[email protected]>
added tests from #274

483b2c4aee3cf2c95baa580e7f675efa602d8121 authored almost 11 years ago by fb55 <[email protected]>
use @jugglinmike's variant of detecting elements

previous solution didn't recognize arrays

02b60a66f84979288e104120bc93bf930a57183a authored almost 11 years ago by Felix Böhm <[email protected]>
Merge branch 'pr/343'

Conflicts:
lib/cheerio.js

7f07e406b939b2046168ebc1ec96cf6be61956ad authored almost 11 years ago by fb55 <[email protected]>
added simple test case for #424

417bf72a8eca7dad630eeb4af10fef04ed5ffc3b authored almost 11 years ago by fb55 <[email protected]>
Merge pull request #424 from nleush/load-by-domhandler

Allow load cheerio using existing domhandler (not only string)

f361a53c909e097876e58471d69ae400d063a1da authored almost 11 years ago by Felix Böhm <[email protected]>
Merge branch 'pr/352'

Conflicts:
lib/api/manipulation.js
test/api.manipulation.js

2101d27165c156e1ea405bdd1aec731132be53a7 authored almost 11 years ago by fb55 <[email protected]>
Merge pull request #412 from kpdecker/replace-fix

Optimize manipulation methods

e12d8acf312646331f0f3104bf2275a5e7f6dc88 authored almost 11 years ago by Felix Böhm <[email protected]>
Merge pull request #420 from MatthewMueller/browserify_support

Browserify support

bd176966cc9e4befc53b118d6c897173f4c4ec4b authored almost 11 years ago by Felix Böhm <[email protected]>
Merge pull request #434 from t3chnoboy/master

Use SVG travis badge

4c9092fe7be4d3aba9a1a13f29b1b726d0f455aa authored almost 11 years ago by Felix Böhm <[email protected]>
Use SVG travis badge

474c9f722d3a1933481442dbf9fe174003157fca authored almost 11 years ago by Dmitry Mazuro <[email protected]>
Release 0.14.0

013171643791872ddf273918ede62fc8ce662d58 authored almost 11 years ago by Matthew Mueller <[email protected]>
use shortcut htmlparser.parseDOM

eb0040ff0b41e93b04b8db77f1c942e79bd20db9 authored almost 11 years ago by Nazar Leush <[email protected]>
Merge branch 'load-by-domhandler' of https://github.com/nleush/cheerio into load-by-domhandler

92cfd4ac8be07ab2da30be2e7e983bf5ae7e1e05 authored almost 11 years ago by Nazar Leush <[email protected]>
rename 'strOrDom' to 'content'; use _.isString

f113de4d13ee1aefdaf5029507913d97d7389155 authored almost 11 years ago by Nazar Leush <[email protected]>
Merge pull request #428 from ashaindlin/patch-1

Remove offensive language from Readme.md

ba92c8de8048b20e4fc8e58fb3b8a107c5431e0d authored almost 11 years ago by David Chambers <[email protected]>
Remove offensive language from Readme.md

Replaces "insanely" with "incredibly" to avoid associating mental illnesses with being unreasona...

71304f7355ae3c9af27ae4f8117ef9cb6ea63204 authored almost 11 years ago by Alex Shaindlin <[email protected]>
revert version change

ef0ebc93cd68faf916aed3c3629ad2f06d6eee2e authored almost 11 years ago by Nazar Leush <[email protected]>
Merge pull request #421 from MichielDeMey/patch-1

Ignore benchmark folder

679b05ba1cd2096e885d1ddef4c575a1ff23b9e9 authored almost 11 years ago by David Chambers <[email protected]>
Ignore benchmark folder

Ignore benchmark folder when installing cheerio through npm.

72090deacd91ed9f0dfd0997a8476d8cf1739c33 authored almost 11 years ago by Michiel De Mey <[email protected]>
added linebreaks

99397864cc7a0deb58dc0be65619f07d3221a228 authored almost 11 years ago by Felix Böhm <[email protected]>
only use static requires

cheerio is now browserify-able

c11108ce5921e1d2bc50b15c2ea61f4104efebc6 authored almost 11 years ago by fb55 <[email protected]>
Merge pull request #418 from dandv/patch-1

More links to htmlparser2...

c4ee7ecb044ebf3221118229989c78d8a21595e0 authored almost 11 years ago by Matthew Mueller <[email protected]>
More links to htmlparser2...

...notable before listing the options

09c5b024347e2ba90e7262f1b3a482131d9731b7 authored almost 11 years ago by Dan Dascalescu <[email protected]>
Merge pull request #417 from MatthewMueller/version_updates

Version updates

6223d4741515e57824851df23112c9f9c4f3dd5e authored almost 11 years ago by Matthew Mueller <[email protected]>
call encodeXML and directly expose decodeHTML

cc287cc265ab9fd490e17b5168b2422eda50f92e authored almost 11 years ago by fb55 <[email protected]>
use latest htmlparser2 and entities versions

504caeae832ab1e932b66ade32c8139e1fdc1a2d authored almost 11 years ago by fb55 <[email protected]>
Merge pull request #415 from jugglinmike/get

Implement `$.fn.get`

b544caa503d738d3d2ab1028e857c08f09fd3c5b authored almost 11 years ago by Matthew Mueller <[email protected]>
Deprecate `$.fn.toArray`

Because `$.fn.get` is more powerful than `toArray` and because `toArray`
is not implemented by j...

f0dc4d2cbb20d70d15d29bcf91bee718c92eda35 authored almost 11 years ago by Mike Pennisi <[email protected]>
Implement `$.fn.get`

0ff539e6134666a6a43fb68982252f9eae50b98a authored almost 11 years ago by Mike Pennisi <[email protected]>
Optimize manipulation methods

Does reduce empty performance but this is due to a bug fix that caused replaceWith to corrupt th...

d6b855415555ab8cd3bf99be00195a73a121b05e authored almost 11 years ago by kpdecker <[email protected]>
Merge pull request #411 from xavi-/multi-replaceWith

.replaceWith now replaces all selected elements.

e74025e2ea0ca54f30bfa8ca8bae7a42a7b69230 authored almost 11 years ago by David Chambers <[email protected]>
.replaceWith now replaces all selected elements.

f6998624d40112f1e8b3f462a2faf81020ae753d authored almost 11 years ago by Xavi <[email protected]>
Merge pull request #410 from jugglinmike/replacewith-args

Correct arguments for 'replaceWith' callback

6ce5473dfbcbac45d54032678059d5c2ca3284a8 authored almost 11 years ago by David Chambers <[email protected]>
Correct arguments for 'replaceWith' callback

Ensure that when `replaceWith` is invoked with a function, that function
is invoked with both th...

380663ee3bc343b4044a5bc5ed12ffdcbdea76a6 authored almost 11 years ago by Mike Pennisi <[email protected]>
switch to lodash

aa0cc40747ed07cd124f200e275c366aeb1f8b73 authored almost 11 years ago by fb55 <[email protected]>
Merge pull request #402 from kpdecker/attr-text

Fix attr when $ collection contains text modules

e573e851f7ce4638fd8645570faa02243941aaff authored almost 11 years ago by Felix Böhm <[email protected]>
Merge pull request #403 from fb55/master

Update to [email protected]

c7c6a0b6dd1becdedd2d29ad3aba8b8f74e9a1b4 authored almost 11 years ago by David Chambers <[email protected]>
update to [email protected]

fe5105998b0b884f07911223df2989c2695300e1 authored almost 11 years ago by Felix Böhm <[email protected]>
Merge pull request #400 from jugglinmike/update-expect

Update to latest version of expect.js

3afb883c5f17d543726e6f9dcfd75a7b6fb195b3 authored almost 11 years ago by Felix Böhm <[email protected]>
Fix attr when $ collection contains text modules

f8e3419c08d866f75327d2dd8184e2880ff8f896 authored almost 11 years ago by kpdecker <[email protected]>
Update to latest version of expect.js

In version 0.3, expect.js corrected the order of its `eql` assertion.
This exposed several bugs ...

4664579a5663158ea98c7ecedccb4f68a583c6c7 authored almost 11 years ago by Mike Pennisi <[email protected]>
Merge pull request #350 from jugglinmike/cleanup-manip

Remove nodes from their previous structures

18bc828f6fd6f069d3902326c450de31fa53a27e authored almost 11 years ago by Felix Böhm <[email protected]>
Remove nodes from their previous structures

When manipulation methods operate on existing nodes, ensure that these
nodes are removed from th...

66c4a47c0dedd22c2204f90682be3209ef366377 authored almost 11 years ago by Mike Pennisi <[email protected]>
Pin `expect.js` to 0.2

As long as https://github.com/LearnBoost/expect.js/pull/102 isn't resolved, 0.3 causes bugs.

f11de458075e0eb2a0257bc8c3c65123123ddff5 authored almost 11 years ago by Felix Böhm <[email protected]>
update version

6d3af40394f9727174a249501001646b80f050f2 authored almost 11 years ago by Nazar Leush <[email protected]>
fix 'content undefined'

843582a532c5794577164e6767b3e5ffa9098232 authored almost 11 years ago by Nazar Leush <[email protected]>
Optimize add and remove class cases

Test: attributes - Add Remove class (file: jquery.html)
cheerio x 1,953 ops/sec ±1.70% (94 run...

d6f13b2ddc26ecc132b9877258b785026015d1f7 authored almost 11 years ago by kpdecker <[email protected]>
Merge pull request #397 from stevenvachon/master

proper rendering of CDATA

9a9b4d47ca0b41cf19e6d6e2b64f7402e857005b authored almost 11 years ago by David Chambers <[email protected]>
Update render.js

e24551de8a324233a480eb8f508d3f0cedbccf7f authored almost 11 years ago by Steven Vachon <[email protected]>
CDATA test

0743ae0871d1f32410043f16ce8be22cb0b277bd authored almost 11 years ago by Steven Vachon <[email protected]>