Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/tauri-apps/tauri-inliner
Node utility to inline images, CSS and JavaScript for a web page - useful for mobile sites
https://github.com/tauri-apps/tauri-inliner
Closes #75
b025f4b0b644b12446ea97b10bd5c95e07c806d9 authored about 9 years ago by Ricardo Pescuma Domenecci <[email protected]>e32fc0abc70e5a9f59d866b2d7cd173d9908e3e7 authored about 9 years ago by Ricardo Pescuma Domenecci <[email protected]>
When ? was left in url and parsing a local file.
Fixes #72
82fb14c11f129910322eff77fb7d22f760ef21b9 authored about 9 years ago by dotob <[email protected]>5b7fc96bc341a08d2c0f3cbb52be96590bdc114a authored about 9 years ago by Remy Sharp <[email protected]>
fbff26cd11c025fa6e5c55b3b775e51d6f21670b authored about 9 years ago by Remy Sharp <[email protected]>
Supports both HTML being passed as the first argument to the inliner function (through various d...
6e46680fbdf8e44563e9020a9b5d1532dc8606a9 authored about 9 years ago by Remy Sharp <[email protected]>Also includes tests
cbcd3981822f3ab641fb78bdfd3fafc6bcc48185 authored about 9 years ago by Felix Akkermans <[email protected]>d9b53c96b1ec55ac292af3e2e7abc3e27407cc16 authored about 9 years ago by Remy Sharp <[email protected]>
dec04197cf5ed55205be716caaae931f47367c87 authored about 9 years ago by Remy Sharp <[email protected]>
de372bb6b006e5156144acd4c8d01b96abfe7ac9 authored about 9 years ago by Remy Sharp <[email protected]>
Supports both HTML being passed as the first argument to the inliner function (through various d...
45c4d752dde6020ef9190c6f826ba3e64223b0ea authored about 9 years ago by Remy Sharp <[email protected]>Also includes tests
7a393d0f359fa63ff3c8ded4f3f933ede16762d3 authored about 9 years ago by Felix Akkermans <[email protected]>feat: inline video (and their poster image attribute)
e9aa76e0711aa20de83f51e80705dc242d28e9bd authored about 9 years ago by Remy Sharp <[email protected]>
Video (and their poster) inlining is disabled by default.
It sounds crazy but for videos with a ...
[skip ci]
2f760710b169d622c1fb4c3e11ab7f41a8e9e08a authored over 9 years ago by Remy Sharp <[email protected]>Also cleaned up js uglify process as it was failing the test source.body when in fact there was ...
c66d95deda1b074639810397fcaad8c8aa36ef5e authored over 9 years ago by Remy Sharp <[email protected]>Fixes #61
It seems to work, but I'm not sure if it's a clean way of doing it. Let
me know what ...
Fixes #58
Compresses inline SVG using SVGO, and compresses CSS background SVG images by making ...
9904b6b3346f216b22792b19579eb160077cb1db authored over 9 years ago by Remy Sharp <[email protected]>Not sure how I missed it, but the arguments were never making their way into inliner via the cli...
cd6c7230cf02b1019ced8caec5bc7bea69dda176 authored over 9 years ago by Remy Sharp <[email protected]>Using charset and jschardet allows us to detect the encoding, whilst still supporting allowing t...
bf1860271f4d579311de2fcdeea2c4e4a95fe4a6 authored over 9 years ago by Remy Sharp <[email protected]>cf68995f036a4acb44fe607a2efdcdc97402776a authored over 9 years ago by Manolis Stamatogiannakis <[email protected]>
Support for manually specifying the source encoding using iconv-lite to convert to utf-8 from th...
715678cfaa0fae53b60c9fe96cc080e2ea08aabb authored over 9 years ago by Manolis Stamatogiannakis <[email protected]>Allows for optional flags as well as bools
f720629d0d6ee28fafbbaff506a2c88344c6fdda authored over 9 years ago by Manolis Stamatogiannakis <[email protected]>Since the cache is keyyed by URL, it makes sense to ignore the hash fragment identifier.
cb894c8ce9d6374c635b559abdc8978e8de2fefd authored over 9 years ago by Remy Sharp <[email protected]>Fixes #26
Inliner was trying to resolve and request `data:` urls. Now it checks to see if it's ...
c439d79f5ad8601072a7a3d4306cdc4925832f3a authored over 9 years ago by Remy Sharp <[email protected]>Merge branch 'collapse-whitespace' of https://github.com/hsablonniere/inliner into hsablonniere-...
54aae10c430dd883e04961327b20ea889c93c73b authored over 9 years ago by Remy Sharp <[email protected]>fae14c92c31ac03ec1a51094cea9138f6f2962f6 authored over 9 years ago by Hubert SABLONNIÈRE <[email protected]>
The options parameter { encoding: 'binary' } set in image.js was lost.
It was not used in the ma...
fix: inline scripts containing ETAGO properly
f4fc886b5e72182663d528018b050c4ae0c02ab5 authored over 9 years ago by Remy Sharp <[email protected]>
The fix is done by escaping all "</script" to "<\/script" according to Mathias Bynens article :
...
fix: treat styles and scripts as text
5647244ef5e338a13c3d6bc4f19dcfb88946988c authored over 9 years ago by Remy Sharp <[email protected]>214f698f9586b67ea140bfd4f7113f96ba46db59 authored over 9 years ago by Hubert SABLONNIÈRE <[email protected]>
4e7acd39bb550e2431fed9cea151ac93c925e785 authored over 9 years ago by Hubert SABLONNIÈRE <[email protected]>
Parser was getting a buffer, so it needed to be coersed to a string.
Fixes #52
593a2749cfd90b252d8d5149a3138b0241adfc00 authored over 9 years ago by Remy Sharp <[email protected]>0590ce4a3b9cc0bf1224ff5d297d774ec4303423 authored over 9 years ago by Remy Sharp <[email protected]>
Fail to uglify local js script with TypeError: undefined is not a function
f89ed538f57c3efd89de946d484db8b6d0d811df authored over 9 years ago by Guillaume Girou <[email protected]>Woot
01037594f74d333d90cd854e558485768e47740d authored over 9 years ago by Remy Sharp <[email protected]>Because, yes, I'd like a consistent code style!
aace364794f744faa4464bc44fbc56b8f335656e authored over 9 years ago by Remy Sharp <[email protected]>No longer used. [skip ci]
27d9e8e8b0f3bff9f7f4c8fa8da05db4c0c90aa9 authored over 9 years ago by Remy Sharp <[email protected]>ac1ca3deb948a9c175615cb21246c70821af629f authored over 9 years ago by Remy Sharp <[email protected]>
c8e4cab6cad2bfa6cde3c73b48f9c29dc6531727 authored over 9 years ago by Remy Sharp <[email protected]>
And contributing file for others to see how to file issues
348f8a3199cc28b09c089b166431f029fa24733e authored over 9 years ago by Remy Sharp <[email protected]>Keeps doing a socket hang up because the jQuery UI test is taking too long, and since it's lates...
22ee5dff267b663f55d48eba66388c8e0a5e6e1e authored over 9 years ago by Remy Sharp <[email protected]>eb35f185771074348c4c8e12ff5ac98e875478d1 authored over 9 years ago by Remy Sharp <[email protected]>
Also add test
06c8132aa3f953bd7a54130526d3995b010d6e0d authored over 9 years ago by Remy Sharp <[email protected]>a0f685a9069d3fc187f53553f4c3bf09d1576e35 authored over 9 years ago by Remy Sharp <[email protected]>
[ci skip]
e1d8dcc84cc0c635ceb82ffeeb1ff43b615c50e9 authored over 9 years ago by Remy Sharp <[email protected]>Full refactor across to cheerio
1eb1238c94057f2bff9a2541afec818e26ff7ac8 authored over 9 years ago by Remy Sharp <[email protected]>e046c3739ac3f4b513d9247837c23819467f5b9e authored over 9 years ago by Remy Sharp <[email protected]>
ef60842815faf72a9d41635b8240b5a9e2de1ca5 authored over 9 years ago by Remy Sharp <[email protected]>
66537964610b4544e6353b4a8e66e3e160e21e9c authored over 9 years ago by Remy Sharp <[email protected]>
743018c1a0a63a79cb6057489f1fad86d66a3d1f authored over 9 years ago by Remy Sharp <[email protected]>
96ac1b7ac859ffb86f1055ab48d3bbfb43c9e691 authored over 9 years ago by Remy Sharp <[email protected]>
308aaa6be249ba949804325661351f0fe312ff25 authored over 9 years ago by Remy Sharp <[email protected]>
eabd7c544188c1d0af839c304f60f9937de3491c authored over 9 years ago by Remy Sharp <[email protected]>
minimist was eating the args after the flags, like `inliner -d <url>` was becoming `debug=<url>`...
d6d13c83e46dc371a4d71fc0e626d7851838c681 authored over 9 years ago by Remy Sharp <[email protected]>96d7bf2fe3844b527feb7397d1d49cd44b1eb9c9 authored over 9 years ago by Remy Sharp <[email protected]>
8dfea139c83f7bd0d5558a46f62c5a495cbc0cd9 authored over 9 years ago by Remy Sharp <[email protected]>
50bd5a0f177291724e1dd68058cfd940fcbfd5c9 authored over 9 years ago by Remy Sharp <[email protected]>
16944df7643b9cf5f7a0ee93396cf8e1bc3285cd authored over 9 years ago by Remy Sharp <[email protected]>
2343fb5fdd8eb0a0616018f8774b58d063009e51 authored over 9 years ago by Remy Sharp <[email protected]>
c940480c487b627153502f7329858002238c1d4e authored over 9 years ago by Remy Sharp <[email protected]>
Fix calls to existsSync; fix non-zero exit code on error
e628109750dd99725e32f931be7ad634d4c3de4e authored almost 10 years ago by Remy Sharp <[email protected]>4fb1190c414b30707a5d34893dce7025ec836acd authored almost 10 years ago by Build Server <[email protected]>
77cfbd6e497097e6c5faa57e1503ce1f81704671 authored almost 10 years ago by Build Server <[email protected]>
Fixes #13 (in upstream)
60d7cd7de67ee4f90cb79510d5ea762fb6db8322 authored over 10 years ago by Remy Sharp <[email protected]>2f6a3bb1b31098b8ee0ef2f59524d4c0eb4b056a authored over 10 years ago by Grzegorz Oledzki <[email protected]>
Change for null cases
d86313172ea52cacb42b4c95c2f370b61d9a6095 authored over 10 years ago by Remy Sharp <[email protected]>In the case that this.src is null, need to go ahead and handle it gracefully. Rather let url.js...
e3cb626ce992aafe64cbf83a8ed1198218eec24c authored over 10 years ago by TJKoury <[email protected]>Support relative <img src=> URLs.
574f2c3ed043179ad3d1a5c66b1f3da760612e03 authored about 11 years ago by Remy Sharp <[email protected]>
img.src is an absolute URL. jsdom's img.src getter produces this URL by
resolving the <img src=>...
Update inliner.js
909b96323dc0e2975125494d46ef74ede0fd21aa authored over 11 years ago by Remy Sharp <[email protected]>Fix compatibility error with recent version jsdom module (mine is [email protected]): changed jsdom.e...
40b47f48c51b9636b683535358f5ca3fcca94081 authored over 11 years ago by Andyroid1978 <[email protected]>Update package.json
c8ffae55790f2bf9a14c846ab4f13484ae3095d4 authored over 11 years ago by Remy Sharp <[email protected]>jsdom wasn't working on "latest" (0.7.0), so I pin it to 0.6.5
7ef02df8d9cdb369c4cd07ba2328229930b94103 authored over 11 years ago by Jonathan Palardy <[email protected]>4f1af5c7d6890a2f930fc81824371cab692a31a1 authored about 13 years ago by Remy Sharp <[email protected]>
7e30780fe453f9d179f4ab4445ad2de89b2444a9 authored about 13 years ago by Remy Sharp <[email protected]>
229d4f146bee890d39667c81cc6510b43d11bed2 authored about 13 years ago by Remy Sharp <[email protected]>
8a5f50fd0d9eb80d6521aba966e5de95b80fa281 authored about 13 years ago by Remy Sharp <[email protected]>
aa2d63aefea9ee27fb7a4fcc75fc7d1abd8717e9 authored about 13 years ago by Remy Sharp <[email protected]>
a81db9687f911c443809c0720c9278050db89e5b authored about 13 years ago by Remy Sharp <[email protected]>
ee87478e9312c6c00ff5670498fb90c597df61ca authored about 13 years ago by Remy Sharp <[email protected]>
2e765450879d0ce52e258cfe6fa9d97c41481f40 authored about 13 years ago by Remy Sharp <[email protected]>
801e7ece22a63719595eb5d164c203a64eb69b17 authored about 13 years ago by Remy Sharp <[email protected]>
ffc6431b0ea4350f8331e2ef25ba771454f0f2c2 authored over 13 years ago by remy <[email protected]>
e1ae854e67c55b5a0f5c486d0535ddb6c1381e46 authored over 13 years ago by remy <[email protected]>
01dd4c743b6902a958ee02da70b04c4a366e234a authored over 13 years ago by remy <[email protected]>
bd8890c6f4805b7a0c168c7e536ca01b266ce011 authored over 13 years ago by remy <[email protected]>
291182beec2759ca9732139ec85b00118956a7fa authored over 13 years ago by remy <[email protected]>
68a0bc8e88bc3271664fedb3ce272c743c26d8da authored over 13 years ago by remy <[email protected]>
78204a7f210070696c48bba09eab1d6c1d926ed8 authored over 13 years ago by remy <[email protected]>
52b8f70a58528b83aeb435b48758c6734eb4925d authored over 13 years ago by remy <[email protected]>
c418d6f32c13b5a218f9f5448d90fc04cd17d5a6 authored over 13 years ago by remy <[email protected]>
fb9991d6795aaa72a6fddb23d5cc1291aa2ef7bb authored over 13 years ago by remy <[email protected]>
c64afcc42fcdd4275862e36d817173cf0f3344f6 authored over 13 years ago by remy <[email protected]>
fbee9f9534c3ce7df348781d6cc439249168ffe3 authored over 13 years ago by remy <[email protected]>
7c9b89f0a9c63c2edd1592cd4f62f4341d5374f9 authored over 13 years ago by remy <[email protected]>
Strip whitespace in css url()
7827c4c7dc754163ccc8a433084f70e22f272dc1 authored over 13 years ago by Remy Sharp <[email protected]>1417f2d28e9b6d360fabafc56bd890da2227d982 authored over 13 years ago by remy <[email protected]>
5ab47ddfaee40b717d9b1321a3224d3a3957d32d authored over 13 years ago by Gregers Gram Rygg <[email protected]>