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
Defer the storage and type coercion of HTML5 `data-*` attributes until a
read operation. At this...
Fence .val example as js
de03a0f41ed341a44d1acf263735e239d8a22e34 authored over 10 years ago by David Chambers <[email protected]>6ab5596c2826fc154fe08e2a1946b1ab2245f799 authored over 10 years ago by Kevin Sawicki <[email protected]>
Fixed typos. Deleted trailing whitespace from test/render.js
fb4b5a5e982635a1f593c545f1b7b88f04097f1a authored over 10 years ago by David Chambers <[email protected]>98f94636f342ccf58d9b8eb9e1dd150f34e0c653 authored over 10 years ago by Nattaphoom Ch <[email protected]>
071e23698d67ec9cffaf5f34887a4ea665a37fb8 authored over 10 years ago by Felix Böhm <[email protected]>
Fix manipulation APIs with removed elements
a60ff7923557410b8cd6c340a4a96942e2314769 authored over 10 years ago by David Chambers <[email protected]>1eb96e70745d3cf0153d9247e0e78596b3f1b883 authored over 10 years ago by kpdecker <[email protected]>
fixes #438
4a505763e7128612df1e6815b9cb3fc9d4e30af0 authored over 10 years ago by fb55 <[email protected]>Fix existing element removal
557eee1484cb9cc35803a7f9e167c95c1603aee2 authored over 10 years ago by Felix Böhm <[email protected]>Perform manual string parsing for hasClass
545816e856d19febb428b3d8f371825caaa3117d authored over 10 years ago by Felix Böhm <[email protected]>This is faster and avoids additional memory pressure from temporary array objects.
Test: attrib...
ede296e04f487a011fd7545a0cefceca4908e2b8 authored over 10 years ago by kpdecker <[email protected]>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]>96c6dfb8a8fef15f556b22d4b5e22a5748fb2519 authored over 10 years ago by Felix Böhm <[email protected]>
[ci ignore]
d3f05f934f54e017cd210a4d80bf7cdbef813671 authored over 10 years ago by Felix Böhm <[email protected]>partially fix for #319 (`'` won't be used anymore)
5ef77864a5671e07539c76f202b628fd7af3f1e9 authored over 10 years ago by Felix Böhm <[email protected]>1aac761874e262f8747dc0503f2262d2c360bf3b authored over 10 years ago by Felix Böhm <[email protected]>
render.js cleanup
99810b230042f7a76419e61ac2e2f1aeba1b9351 authored over 10 years ago by Felix Böhm <[email protected]>fixes #446
a117d92fe0939fe06ff45c022d1bc4506df80211 authored over 10 years ago by Felix Böhm <[email protected]>Render xml in `html()` when `xmlMode: true`
ccf11866e61103e7cb2b4cd26d4905cfdcdd6ef8 authored almost 11 years ago by Matthew Mueller <[email protected]>db4c76d4efeb0ef323f65a9090240190ca61e24b authored almost 11 years ago by fb55 <[email protected]>
3c6e419c470af9746751169455e37825ab99b576 authored almost 11 years ago by fb55 <[email protected]>
fixes #248, #194, #445
24e9c43d992aed13435143e0cd8cf754b8b056b0 authored almost 11 years ago by Felix Böhm <[email protected]>
attributes are now lowercased by default, so using a regexp isn't
required anymore
also set `__proto__` of singleTag to `null`, so eg. tags named
`hasOwnProperty` won't be recognized
Primitives <3
9a06c6588cb2b72c3977f8be6bbd0677006ec607 authored almost 11 years ago by Felix Böhm <[email protected]>042a9e5e82c603fa90a09317e1274c476e38c2f2 authored almost 11 years ago by Felix Böhm <[email protected]>
9b9fca5ae09051d7e4a211a077da9dea05c1544c authored almost 11 years ago by fb55 <[email protected]>
3b8a9a89d95c6bb8f06201d27f0f4cb7641ec6d8 authored almost 11 years ago by fb55 <[email protected]>
e37b10493c92a06953a98f41727aeef003d7e3d7 authored almost 11 years ago by fb55 <[email protected]>
Pass options object to CSSselect
187e36484d15c3e87ddd631d5d72d9c23bb1e71f authored almost 11 years ago by Matthew Mueller <[email protected]>only used to ensure every call contained this setting
958c3e681890a91779ba44883c74acdc0fa72793 authored almost 11 years ago by fb55 <[email protected]>fixes #248
This changes how text nodes are stored in the DOM: They are now
unescaped by default...
9856f265ebe7c5911070058ce60bc0a648795b71 authored almost 11 years ago by Matthew Mueller <[email protected]>
18990e298ef208ae244268ca262ac83c2871b08c authored almost 11 years ago by Matthew Mueller <[email protected]>
d0dc73294f61dfd7cc0e7a20d0c8e53c29fe677a authored almost 11 years ago by fb55 <[email protected]>
0944fbcfc3c78241f5f8657f5aa4f05b41737063 authored almost 11 years ago by Matthew Mueller <[email protected]>
https://github.com/MatthewMueller/cheerio/blob/master/Readme.md#each-functionindex-element-
Thi...
53e7e259a64d35d2d07e88ee3ff0bfade2c5ab7a authored almost 11 years ago by kpdecker <[email protected]>Preserve options
e478de2fecf102f07c4c42e644938f6b5245e2a3 authored almost 11 years ago by Matthew Mueller <[email protected]>a1f289680fe8d713ca7f6e41caf1ae61434f666d authored almost 11 years ago by fb55 <[email protected]>
Optimize add and remove class cases
35fc758d15a8fde59f54c497d9574a37a8230524 authored almost 11 years ago by Matthew Mueller <[email protected]>Added parentsUntil() method (issue #144)
8da8c3d34403b7cbb5d33de41c44a5649d697db3 authored almost 11 years ago by Matthew Mueller <[email protected]>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]>
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]>cc8a10ab7f2c711616611c88317b140e84d8408c authored almost 11 years ago by fb55 <[email protected]>
e47997084fae4114ccc4484a5ba4f8fe28d3ae7c authored almost 11 years ago by fb55 <[email protected]>
82da920405149856d403ccb1975ca2eed1014ac3 authored almost 11 years ago by fb55 <[email protected]>
f55bd3518be2c25262b09085c84ca2cd48af7baf authored almost 11 years ago by fb55 <[email protected]>
as proposed by @jugglinmike in #274, but using `this.options` instead
of the prototype to enable...
as proposed by @jugglinmike in #274
71216faaf812a014932618483e370abc5e02819b authored almost 11 years ago by fb55 <[email protected]>483b2c4aee3cf2c95baa580e7f675efa602d8121 authored almost 11 years ago by fb55 <[email protected]>
previous solution didn't recognize arrays
02b60a66f84979288e104120bc93bf930a57183a authored almost 11 years ago by Felix Böhm <[email protected]>
Conflicts:
lib/cheerio.js
417bf72a8eca7dad630eeb4af10fef04ed5ffc3b authored almost 11 years ago by fb55 <[email protected]>
Allow load cheerio using existing domhandler (not only string)
f361a53c909e097876e58471d69ae400d063a1da authored almost 11 years ago by Felix Böhm <[email protected]>
Conflicts:
lib/api/manipulation.js
test/api.manipulation.js
Optimize manipulation methods
e12d8acf312646331f0f3104bf2275a5e7f6dc88 authored almost 11 years ago by Felix Böhm <[email protected]>Browserify support
bd176966cc9e4befc53b118d6c897173f4c4ec4b authored almost 11 years ago by Felix Böhm <[email protected]>Use SVG travis badge
4c9092fe7be4d3aba9a1a13f29b1b726d0f455aa authored almost 11 years ago by Felix Böhm <[email protected]>474c9f722d3a1933481442dbf9fe174003157fca authored almost 11 years ago by Dmitry Mazuro <[email protected]>
013171643791872ddf273918ede62fc8ce662d58 authored almost 11 years ago by Matthew Mueller <[email protected]>
eb0040ff0b41e93b04b8db77f1c942e79bd20db9 authored almost 11 years ago by Nazar Leush <[email protected]>
92cfd4ac8be07ab2da30be2e7e983bf5ae7e1e05 authored almost 11 years ago by Nazar Leush <[email protected]>
f113de4d13ee1aefdaf5029507913d97d7389155 authored almost 11 years ago by Nazar Leush <[email protected]>
Remove offensive language from Readme.md
ba92c8de8048b20e4fc8e58fb3b8a107c5431e0d authored almost 11 years ago by David Chambers <[email protected]>Replaces "insanely" with "incredibly" to avoid associating mental illnesses with being unreasona...
71304f7355ae3c9af27ae4f8117ef9cb6ea63204 authored almost 11 years ago by Alex Shaindlin <[email protected]>ef0ebc93cd68faf916aed3c3629ad2f06d6eee2e authored almost 11 years ago by Nazar Leush <[email protected]>
Ignore benchmark folder
679b05ba1cd2096e885d1ddef4c575a1ff23b9e9 authored almost 11 years ago by David Chambers <[email protected]>Ignore benchmark folder when installing cheerio through npm.
72090deacd91ed9f0dfd0997a8476d8cf1739c33 authored almost 11 years ago by Michiel De Mey <[email protected]>99397864cc7a0deb58dc0be65619f07d3221a228 authored almost 11 years ago by Felix Böhm <[email protected]>
cheerio is now browserify-able
c11108ce5921e1d2bc50b15c2ea61f4104efebc6 authored almost 11 years ago by fb55 <[email protected]>More links to htmlparser2...
c4ee7ecb044ebf3221118229989c78d8a21595e0 authored almost 11 years ago by Matthew Mueller <[email protected]>...notable before listing the options
09c5b024347e2ba90e7262f1b3a482131d9731b7 authored almost 11 years ago by Dan Dascalescu <[email protected]>Version updates
6223d4741515e57824851df23112c9f9c4f3dd5e authored almost 11 years ago by Matthew Mueller <[email protected]>cc287cc265ab9fd490e17b5168b2422eda50f92e authored almost 11 years ago by fb55 <[email protected]>
504caeae832ab1e932b66ade32c8139e1fdc1a2d authored almost 11 years ago by fb55 <[email protected]>
Implement `$.fn.get`
b544caa503d738d3d2ab1028e857c08f09fd3c5b authored almost 11 years ago by Matthew Mueller <[email protected]>
Because `$.fn.get` is more powerful than `toArray` and because `toArray`
is not implemented by j...
0ff539e6134666a6a43fb68982252f9eae50b98a authored almost 11 years ago by Mike Pennisi <[email protected]>
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]>.replaceWith now replaces all selected elements.
e74025e2ea0ca54f30bfa8ca8bae7a42a7b69230 authored almost 11 years ago by David Chambers <[email protected]>f6998624d40112f1e8b3f462a2faf81020ae753d authored almost 11 years ago by Xavi <[email protected]>
Correct arguments for 'replaceWith' callback
6ce5473dfbcbac45d54032678059d5c2ca3284a8 authored almost 11 years ago by David Chambers <[email protected]>
Ensure that when `replaceWith` is invoked with a function, that function
is invoked with both th...
aa0cc40747ed07cd124f200e275c366aeb1f8b73 authored almost 11 years ago by fb55 <[email protected]>
Fix attr when $ collection contains text modules
e573e851f7ce4638fd8645570faa02243941aaff authored almost 11 years ago by Felix Böhm <[email protected]>Update to [email protected]
c7c6a0b6dd1becdedd2d29ad3aba8b8f74e9a1b4 authored almost 11 years ago by David Chambers <[email protected]>fe5105998b0b884f07911223df2989c2695300e1 authored almost 11 years ago by Felix Böhm <[email protected]>
Update to latest version of expect.js
3afb883c5f17d543726e6f9dcfd75a7b6fb195b3 authored almost 11 years ago by Felix Böhm <[email protected]>f8e3419c08d866f75327d2dd8184e2880ff8f896 authored almost 11 years ago by kpdecker <[email protected]>
In version 0.3, expect.js corrected the order of its `eql` assertion.
This exposed several bugs ...
Remove nodes from their previous structures
18bc828f6fd6f069d3902326c450de31fa53a27e authored almost 11 years ago by Felix Böhm <[email protected]>
When manipulation methods operate on existing nodes, ensure that these
nodes are removed from th...
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]>6d3af40394f9727174a249501001646b80f050f2 authored almost 11 years ago by Nazar Leush <[email protected]>
843582a532c5794577164e6767b3e5ffa9098232 authored almost 11 years ago by Nazar Leush <[email protected]>
Test: attributes - Add Remove class (file: jquery.html)
cheerio x 1,953 ops/sec ±1.70% (94 run...
proper rendering of CDATA
9a9b4d47ca0b41cf19e6d6e2b64f7402e857005b authored almost 11 years ago by David Chambers <[email protected]>e24551de8a324233a480eb8f508d3f0cedbccf7f authored almost 11 years ago by Steven Vachon <[email protected]>
0743ae0871d1f32410043f16ce8be22cb0b277bd authored almost 11 years ago by Steven Vachon <[email protected]>