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

only ever one child index for cdata

b91e9ae9a6c76170d97633c2114c6ac0582d6693 authored almost 11 years ago by Steven Vachon <[email protected]>
don't loop through cdata children array

a2c059ea8f6526c8f7781e00ece3190f4815da08 authored almost 11 years ago by Steven Vachon <[email protected]>
proper rendering of CDATA

68c1e16eba331f96545499418f1d86967d1b2837 authored almost 11 years ago by Steven Vachon <[email protected]>
Merge pull request #377 from alFReD-NSH/dom-context

Fix passing context as dom node

3ad740e0c25d3805d3a8013493b9f68deb0ba995 authored almost 11 years ago by Felix Böhm <[email protected]>
Merge pull request #390 from kpdecker/cheerio-only-bench

Add cheerio-only bench option

f7af402f5eebeecbf6f8efa07ca235380d51959e authored almost 11 years ago by Felix Böhm <[email protected]>
Add cheerio-only bench option

39f84c23452908a7a29ebb29b4b2bcdeaa0ea01b authored almost 11 years ago by kpdecker <[email protected]>
Merge pull request #388 from kpdecker/opt-render

Optimize Render

3d4c87c3ceb91f0c735291d376179bedffaea545 authored almost 11 years ago by Matthew Mueller <[email protected]>
Use string concat rather than [] join

Node's current v8 version is able to perform multiple string concat faster than the older array ...

fb68f64527ae61aa2d505b8ef320e50fdb27592f authored almost 11 years ago by kpdecker <[email protected]>
Avoid delete operations

This helps us avoid a backing class change and any associated deoptimizations that may occur.

5c859c4df17ce321115fc940e6149e220ebc5ca4 authored almost 11 years ago by kpdecker <[email protected]>
Add independent html benchmark

Covers parser and rendering from initial html content.

165c7a92c845e0b6066b95b674b3c1f63778f038 authored almost 11 years ago by kpdecker <[email protected]>
Simplify attribute rendering step

Removes the keyscan used to determine the size of the object.

Test: manipulation - html (file: ...

539113a6cfa67e907de168b5d3d0477f5e407303 authored almost 11 years ago by kpdecker <[email protected]>
Add html rendering bench case

892e290a26586d6745dc69ed4118f8ad559f7bca authored almost 11 years ago by kpdecker <[email protected]>
Cache tag check in render

d43188f7167985f3f0655e13b75a45f87505aae8 authored almost 11 years ago by kpdecker <[email protected]>
Merge pull request #387 from kpdecker/opt-attr-encoding

Optimize Attribute Encoding

e1124a83a43773f82a44bc5714518f6057f949ca authored almost 11 years ago by Matthew Mueller <[email protected]>
Remove unnecessary encoding step for attrs

Test: attributes - Attributes (file: jquery.html)
cheerio x 7,999 ops/sec ±4.13% (72 runs samp...

aac58d61b57c0a2008206839b187bf17c093bb9f authored almost 11 years ago by kpdecker <[email protected]>
Remove unnecessary check from removeAttr

9df487b199838d7218cf9c1a65568309be9d583e authored almost 11 years ago by kpdecker <[email protected]>
Add single element benchmark case

92aa7788660a3d40861fbac0bbe5c6458113c4d0 authored almost 11 years ago by kpdecker <[email protected]>
Add test for removeAttr+attr on boolean attributes

Conflicts:
test/api.attributes.js

11d032b29f5ca6eef5ac12e0c2703914359e26a8 authored almost 11 years ago by kpdecker <[email protected]>
Merge pull request #385 from kpdecker/opt-filter-selector

Optimize filter with selector

2346f42a2be66903e1f914a86aa109befcfc8bcb authored almost 11 years ago by Felix Böhm <[email protected]>
Optimize filter with selector

Test: traversing - Parent (file: jquery.html)
cheerio x 10,162 ops/sec ±11.24% (64 runs sample...

a55998795a990b65e002a01722b153a73292a9be authored almost 11 years ago by kpdecker <[email protected]>
Merge pull request #382 from globin/pin-entities

pin entities to <0.4

ba38b0140c7bba5d578fa9d75e1c8fb886242009 authored almost 11 years ago by Felix Böhm <[email protected]>
pin entities to <0.4

7e58cc9f37d9de71e9376c335338d72099e7944e authored almost 11 years ago by Robin Gloster <[email protected]>
Merge pull request #379 from dandv/patch-1

it's -> its

82b22cddb6ce0bc6aef40d5eb78613d58c9b2556 authored almost 11 years ago by Felix Böhm <[email protected]>
it's -> its

Can't get any more trivial than that

20cd2bd74fafe3cb1aa91f1fbfe4a89caf407b4c authored almost 11 years ago by Dan Dascalescu <[email protected]>
Fix passing context as dom node

Currently you can do this in JQuery:

var $div = $('<div><p></p></div')
$('p', $div[0])
...

f3bd275b43c4ffb34ff81560f03c20da46368271 authored almost 11 years ago by Farid Neshat <[email protected]>
more keywords

017ce25fe2ee10df08c54616a49b212dc6cd99c1 authored almost 11 years ago by Matthew Mueller <[email protected]>
Implement `selector` argument of `next` method

b0e7c3ff1e5a12dc30f91e0e96d62d827db84f2c authored almost 11 years ago by Mike Pennisi <[email protected]>
Implement `selector` argument of `prev` method

6a5fc3eeb326e723dae57abbae0cf7b3946f1e95 authored almost 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `nextUntil`

Do not consider siblings' contents when filtering.

854d41a77b14f2ad80e0d7031c8b581face27c90 authored almost 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `nextAll`

Do not consider siblings' contents when filtering.

05fd38140c6c79cf29a7bf83c7151ef3bd55702e authored almost 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `prevUntil`

Do not consider siblings' contents when filtering.

07e5ecad8cfe344307efd7df3a534593fca87803 authored almost 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `prevAll`

Do not consider siblings' contents when filtering.

63c1312653eb8d0eee04295ea454883bb06451d0 authored almost 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `siblings`

Do not consider siblings' contents when filtering

035e43091461d96b3ade1134e08e31a0eb632dd1 authored almost 11 years ago by Mike Pennisi <[email protected]>
Merge pull request #369 from kpdecker/reduce-intermediate

Reduce intermediate object creation

f9e3ab48f238f43abd2205d32f351a7194f5788d authored almost 11 years ago by Matthew Mueller <[email protected]>
Avoid unnecessary indexOf from toggleClass

9e0ebe701029ee984f3fca838c0ee3ad9e6712b3 authored almost 11 years ago by kpdecker <[email protected]>
Use strict equality rather than falsy check in eq

dfd059503301ecea3ca70cb86ec2851ce2a0f3e3 authored almost 11 years ago by kpdecker <[email protected]>
Merge pull request #371 from kpdecker/benchmarks

Add benchmark coverage for all $ APIs

7d9bcb6f084cd12df5e4db47eb19c5fc474879e7 authored almost 11 years ago by Matthew Mueller <[email protected]>
Add benchmark coverage for all $ APIs

fd0d79dc85e8b349f618b431d644bbd44609a554 authored almost 11 years ago by kpdecker <[email protected]>
s/return/continue/

ccff7167e2717f26cb0977ce5939cebcc4308d5b authored almost 11 years ago by kpdecker <[email protected]>
Remove erroneous lodash reference

c81601e0b26a0d707b386a1fd2e78137053d5538 authored almost 11 years ago by kpdecker <[email protected]>
Optimize filter Cheerio intermediate creation

f3cbcfeef66ba2759bc947f5c07662666e8cd43e authored almost 11 years ago by kpdecker <[email protected]>
Optimize siblings cheerio instance creation

3316457818ec00edd93349d6b283c601118ace45 authored almost 11 years ago by kpdecker <[email protected]>
Optimize identity cases for first/last/eq

f4e5d436d8ecb8e5784b40aa61ad602426b0b7f5 authored almost 11 years ago by kpdecker <[email protected]>
Use domEach for traversal

7ebf0084b3c166cca526ba2a8d93150c577bf7ee authored almost 11 years ago by kpdecker <[email protected]>
Inline children lookup in find

4ed048885d850191be9c1dcad9b72f996ff4bb34 authored almost 11 years ago by kpdecker <[email protected]>
Use domEach in data accessor

2ba54071a735010613049111d6708c5ab2aa7de0 authored almost 11 years ago by kpdecker <[email protected]>
Avoid cheerio creation in add/remove/toggleClass

efb92b9f17b7de823a8ba9c0e7265825abd5567a authored almost 11 years ago by kpdecker <[email protected]>
Implement getAttr local helper

eaa0faa72b8f3dd562156b1cafe4a513e1468a7d authored almost 11 years ago by kpdecker <[email protected]>
Implement domEach utility

Optimizes internal iteration for both memory and speed by avoiding creation of Cheerio instances...

53757ea9d406746545dc82c9137d90ef9cc55b01 authored almost 11 years ago by kpdecker <[email protected]>
accept dom of DomHandler to cheerio.load

f91bee82845c87a437d1ad8e1d1a762c735e1bdd authored almost 11 years ago by Nazar Leush <[email protected]>
allow cheerio.load work with DomHandler

14a38d333863d331127eb79f3e9f3a7517b1b4f7 authored almost 11 years ago by Nazar Leush <[email protected]>
pin underscore

3ede85d17623ef8d5906fe821ca8ae5467100869 authored about 11 years ago by Matthew Mueller <[email protected]>
Release 0.13.1

29f7977fdddf764097476f4604204bf4131c0039 authored about 11 years ago by Matthew Mueller <[email protected]>
Filter duplicates and add more tests for parentsUntil method

2b18b6cbb4f6f6d2f90948b8fbfd6abd9a7a798d authored about 11 years ago by finspin <[email protected]>
added parentsUntil method

216516e08263db1a01c9e3172a7461f4afb595e8 authored about 11 years ago by finspin <[email protected]>
Accept one or more node references as a context

From the jQuery API documentation on the `jQuery` function [1]:

> ## Using DOM elements
>
> The...

0a45e59cbad0133d2b0c2acad1bcf33da6202860 authored about 11 years ago by Mike Pennisi <[email protected]>
Update package.json

Don't think underscore v1.5.3 is quite out there yet...

183397e3daa5740bb512579f4c0c7454ab757ffd authored about 11 years ago by steve <[email protected]>
Update package.json

Changed underscore to v 1.5.3

a87fe3ab07c1df37e9a7faa4da1db983a3dd2037 authored about 11 years ago by steve <[email protected]>
Add performance optimization for `empty` method

4767ae734e4c99585b113c3f4b952cf564dd0d62 authored about 11 years ago by Mike Pennisi <[email protected]>
Merge pull request #342 from jugglinmike/fix-select-with-context

Fix bug in Cheerio function

d972b9b6bf4aee002b0d9f31f602ae3db3b8f066 authored about 11 years ago by Matthew Mueller <[email protected]>
Fix bug in Cheerio function

When used with a context set through the static `load` method, the
instance will already have nu...

42ec4ff7ae0602d2a2e2afe111e5c442539d6263 authored about 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `empty` method

Ensure that when a node is empty, the childrens' `parent` reference is
destroyed.

3c6f58410cccdbe07692657c241f8b1774095ed0 authored about 11 years ago by Mike Pennisi <[email protected]>
Merge pull request #351 from jugglinmike/redundant-code

Remove unecessary DOM maintenance logic

d6f7bede27919e80157020001921a24fc65f8f3a authored about 11 years ago by Matthew Mueller <[email protected]>
Remove unecessary DOM maintenance logic

This logic was incorporated into the `parse` module's `update` method in
commmit 973c8f44d56cd60...

9916272f1e933d22b835d587fd2e989cfb5c7b70 authored about 11 years ago by Mike Pennisi <[email protected]>
drop support for node 0.6

dbf1544a996032462622e4ba45dd043699cf3121 authored about 11 years ago by Matthew Mueller <[email protected]>
Release 0.13.0

5fb5eebbc5958f8efc42f143beb8ca70be7f833e authored about 11 years ago by Matthew Mueller <[email protected]>
Merge pull request #340 from jugglinmike/nexts-and-prevs

Fix bugs in "next*" and "prev*" methods

e1042bc8a08b683c02c0c242176373ec5711297a authored about 11 years ago by Matthew Mueller <[email protected]>
Merge pull request #341 from jugglinmike/remove-root

Remove "root" node

6a43ac9d831b77c309db8063a66aaa89c7cef40b authored about 11 years ago by Matthew Mueller <[email protected]>
Remove "root" node

Cheerio uses a "root" object internally to collect parsed markup with
multiple top-level nodes. ...

7c07fac746135f72976835b1a3aacbbdc90ecf9f authored about 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `next`

Ensure that the `next` method operates over every element in the
collection.

b60598a05dae6f4bc71b6583a9c1e5cf926a1e72 authored about 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `nextAll`

Ensure that the `nextAll` method operates over every element in the
collection, and avoid return...

0fdedd5f1f71b583fc7ca3d6a226e9cc37e6eab1 authored about 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `prev`

Ensure that the `prev` method operates over every element in the
collection.

7841007be9b09c96943347ceb8ea53190f7e78c1 authored about 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `prevAll`

Ensure that the `prevAll` method operates over every element in the
collection, and avoid return...

fdf1dd395f08f9a24ccb31555fb38689022756fb authored about 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `prevUntil`

Ensure that the `prevUntil` method operates over every element in the
collection, and avoid retu...

4ae7cd577b8d096507fe154118dfdc9f9a362793 authored about 11 years ago by Mike Pennisi <[email protected]>
Fix bug in `nextUntil`

Ensure that the `nextUntil` method operates over every element in the
collection, and avoid retu...

aa3286ac9f377f377f37d92e98f16f7c568210b5 authored about 11 years ago by Mike Pennisi <[email protected]>
Fix `replaceWith` method

Ensure that node structures are updated accordingly and update the tests
to verify the expected ...

973c8f44d56cd6051284eaaf83b3dc0d34ec2eaa authored about 11 years ago by Mike Pennisi <[email protected]>
Merge pull request #335 from jugglinmike/add-regression-test

Add regression test for `children` filtering

a7d87c0a5308955dea4cae8c0208a68b51611bf5 authored about 11 years ago by Matthew Mueller <[email protected]>
Add regression test for `children` filtering

The filtering bug in the `children` method was indirectly resolved by
commit 0464dd8b870e5b2cf04...

024ac31256c3fae1dc3189cba305aef29ddcc2ca authored about 11 years ago by Mike Pennisi <[email protected]>
added nextUntil() and prevUntil()

28c45f06cc47e77b80d2747e3465ffe80d00a8ac authored about 11 years ago by Jaro Spisak <[email protected]>
fix silly array-like object mistake (sort => splice)

9b90025d55f7b8b8c387624715bd50a90d31fe8b authored about 11 years ago by Matthew Mueller <[email protected]>
Merge pull request #331 from jugglinmike/remove-connect

Remove internal `connect` function

0936aaec8ca4e4101351a45f03d90e1fe6536ac7 authored about 11 years ago by Matthew Mueller <[email protected]>
Remove internal `connect` function

Most of this function's responsibilities concerned patching incorrect
behavior of the `htmlparse...

515c5c6955379c9a5c3dcd233f2c8954cb7091f6 authored about 11 years ago by Mike Pennisi <[email protected]>
Rename `Cheerio#make` to document private status

`Cheerio.prototype.make` is a method intended for internal use only. It
is attached to the proto...

ad773d58f8f3a2479fd058698041ad7d45803a12 authored about 11 years ago by Mike Pennisi <[email protected]>
Remove extraneous call to `_.uniq`

This call served as a guard against a bug in the CSSselect library. That
bug has been fixed in t...

a871b6181ffa95664487b3a9ad09b7da6bc79ea6 authored about 11 years ago by Mike Pennisi <[email protected]>
Merge pull request #320 from jugglinmike/node-unstable

Run CI against Node v0.11 as an allowed failure

1a5c67dc36076dbc864a3adb9f1261b7dde1ea41 authored about 11 years ago by Matthew Mueller <[email protected]>
Merge pull request #321 from jugglinmike/use-css-select

Use CSSselect library directly

a44331266f3cec654be5ac9c31e18b0d754f55fa authored about 11 years ago by Matthew Mueller <[email protected]>
Use CSSselect library directly

The "cheerio-select" library does not offer additional functionality,
serving as a simple wrappe...

30b7338d8e53248d75d32df9991a78bd9420d76d authored about 11 years ago by Mike Pennisi <[email protected]>
Run CI against Node v0.11 as an allowed failure

Building against the latest unstable release of Node.js should help the
project stay on top of a...

867351d962251b9d18a05cce1a930f33a6643004 authored about 11 years ago by Mike Pennisi <[email protected]>
Merge pull request #318 from jugglinmike/fix-parents

Fix parents

9685baf2eca9607ffddd270d3d3b98fca39ddcad authored about 11 years ago by Matthew Mueller <[email protected]>
Correct bug in `Cheerio#parents`

Ensure that:

- The parents of *every* element in the selection are returned
- The descendent gr...

67b779f84ed043a7d179e43d9a540a3d1a45f4ac authored about 11 years ago by Mike Pennisi <[email protected]>
Simplify internal function

By returning an Array of DOM nodes, `traverseParents` can operate
faster, and `Cheerio#closest` ...

423bb342cbc9abeac70308226c76a8366e76243a authored about 11 years ago by Mike Pennisi <[email protected]>
Implement `$.fn.end`

From the jQuery API documentation[1]:

> **Description**: End the most recent filtering operatio...

7f766bbdbad3292654a4d3961056b6d639d4ea8b authored about 11 years ago by Mike Pennisi <[email protected]>
Enforce project quotation mark style

As documented in this project's `CONTRIBUTING.md` file, string literals
should be defined using ...

1e8d985170a749f859e721d8848bfa77da0d7356 authored about 11 years ago by Mike Pennisi <[email protected]>
Ignore colons inside of url(.*) when parsing css

Parsing by css is totally wrong, but this will at least not break on `url(http://whatever);` any...

a785c5284972db75afca35e4d2cd5cbfe36b3a35 authored about 11 years ago by Michael Holroyd <[email protected]>
Merge pull request #313 from jugglinmike/bump-htmlparser2

Update HtmlParser2 version

37e802ccbb634d73fe081a133319639e7a2f1eec authored about 11 years ago by Matthew Mueller <[email protected]>
Merge pull request #314 from jugglinmike/bench

Introduce rudimentary benchmark suite

983a4b181b5ca5659002e16ecce8f2596ac6c513 authored about 11 years ago by Matthew Mueller <[email protected]>
Introduce rudimentary benchmark suite

Compare the performance of Cheerio at HEAD with jsdom [1] using jQuery.
Include a new GNU Make t...

c7a1d8e14c06378a79109b245d161989c8050e1b authored about 11 years ago by Mike Pennisi <[email protected]>
Update HtmlParser2 version

The latest version of HtmlParser2 has deprecated the `ignoreWhitespace`
option in favor of a new...

7c9ced3ab2e79f404ff671691a5559cf3a93fd26 authored about 11 years ago by Mike Pennisi <[email protected]>
Correct inconsistency in `$.fn.map`

Update Cheerio's `map` method to more closely match jQuery's
implementation.

1. Invoke the spec...

09e0c0706c53f61ea55e0f97ec616ece0992f567 authored about 11 years ago by Mike Pennisi <[email protected]>
Merge pull request #310 from finspin/fixTests

fixed traversing tests

1d04ae3271ee5a17c904b2690a052785e4b5a37f authored about 11 years ago by David Chambers <[email protected]>