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

feat: add support for inlining .min js

Closes #75

b025f4b0b644b12446ea97b10bd5c95e07c806d9 authored about 9 years ago by Ricardo Pescuma Domenecci <[email protected]>
test: added tests for inlinemin and nocompress js

e32fc0abc70e5a9f59d866b2d7cd173d9908e3e7 authored about 9 years ago by Ricardo Pescuma Domenecci <[email protected]>
fix: strip img query string from local files

When ? was left in url and parsing a local file.

Fixes #72

82fb14c11f129910322eff77fb7d22f760ef21b9 authored about 9 years ago by dotob <[email protected]>
test: remove iojs and add node 4

5b7fc96bc341a08d2c0f3cbb52be96590bdc114a authored about 9 years ago by Remy Sharp <[email protected]>
chore: fix linting issues

fbff26cd11c025fa6e5c55b3b775e51d6f21670b authored about 9 years ago by Remy Sharp <[email protected]>
feat: support plain HTML as a source

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]>
fix: resolving already resolved HTTP links in file

Also includes tests

cbcd3981822f3ab641fb78bdfd3fafc6bcc48185 authored about 9 years ago by Felix Akkermans <[email protected]>
chore: Merge branch 'feature/inliner-string'

d9b53c96b1ec55ac292af3e2e7abc3e27407cc16 authored about 9 years ago by Remy Sharp <[email protected]>
test: remove iojs and add node 4

dec04197cf5ed55205be716caaae931f47367c87 authored about 9 years ago by Remy Sharp <[email protected]>
chore: fix linting issues

de372bb6b006e5156144acd4c8d01b96abfe7ac9 authored about 9 years ago by Remy Sharp <[email protected]>
feat: support plain HTML as a source

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]>
fix: resolving already resolved HTTP links in file

Also includes tests

7a393d0f359fa63ff3c8ded4f3f933ede16762d3 authored about 9 years ago by Felix Akkermans <[email protected]>
Merge pull request #57 from hsablonniere/videos

feat: inline video (and their poster image attribute)

e9aa76e0711aa20de83f51e80705dc242d28e9bd authored about 9 years ago by Remy Sharp <[email protected]>
feat: inline video (and their poster image attribute)

Video (and their poster) inlining is disabled by default.
It sounds crazy but for videos with a ...

747836d3e05c6bd1f9e366164c09a6540f64d021 authored over 9 years ago by Hubert SABLONNIÈRE <[email protected]>
docs: add code of conduct

[skip ci]

2f760710b169d622c1fb4c3e11ab7f41a8e9e08a authored over 9 years ago by Remy Sharp <[email protected]>
feat: warn out when failing to get url on cli

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]>
fix: replace with empty string if error in GET

Fixes #61

It seems to work, but I'm not sure if it's a clean way of doing it. Let
me know what ...

8af810faa74285d4d75ea9599d244c5ee3cf09ee authored over 9 years ago by Sam Nguyen <[email protected]>
feat: compress SVG using SVGO

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]>
fix: fixed args on cli actually being *read*

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]>
feat: detect encoding

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]>
test: add tests for specifying encoding

cf68995f036a4acb44fe607a2efdcdc97402776a authored over 9 years ago by Manolis Stamatogiannakis <[email protected]>
feat: allow user to specific encoding

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]>
refactor: use minimist for argument parsing

Allows for optional flags as well as bools

f720629d0d6ee28fafbbaff506a2c88344c6fdda authored over 9 years ago by Manolis Stamatogiannakis <[email protected]>
fix: ignore fragment identifiers on urls

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]>
fix: handles already inlined content

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]>
chore: merge master

Merge branch 'collapse-whitespace' of https://github.com/hsablonniere/inliner into hsablonniere-...

54aae10c430dd883e04961327b20ea889c93c73b authored over 9 years ago by Remy Sharp <[email protected]>
fix: keep whitespaces and newlines in pre and textareas

fae14c92c31ac03ec1a51094cea9138f6f2962f6 authored over 9 years ago by Hubert SABLONNIÈRE <[email protected]>
fix: encode binaries properly when requested via HTTP

The options parameter { encoding: 'binary' } set in image.js was lost.
It was not used in the ma...

32dfd8ce02b1958749698b0a312b90f69847f675 authored over 9 years ago by Hubert SABLONNIÈRE <[email protected]>
Merge pull request #54 from hsablonniere/etago

fix: inline scripts containing ETAGO properly

f4fc886b5e72182663d528018b050c4ae0c02ab5 authored over 9 years ago by Remy Sharp <[email protected]>
fix: inline scripts containing ETAGO properly

The fix is done by escaping all "</script" to "<\/script" according to Mathias Bynens article :
...

e20c0bd7bdc401510b1b50c0dfddc6d44199fc89 authored over 9 years ago by Hubert SABLONNIÈRE <[email protected]>
Merge pull request #53 from hsablonniere/treat-styles-and-scripts-as-text

fix: treat styles and scripts as text

5647244ef5e338a13c3d6bc4f19dcfb88946988c authored over 9 years ago by Remy Sharp <[email protected]>
fix: prevent signs like "<" or ">" to be treated as HTML in styles

214f698f9586b67ea140bfd4f7113f96ba46db59 authored over 9 years ago by Hubert SABLONNIÈRE <[email protected]>
fix: prevent signs like "<" or ">" to be treated as HTML in scripts

4e7acd39bb550e2431fed9cea151ac93c925e785 authored over 9 years ago by Hubert SABLONNIÈRE <[email protected]>
fix: file based scripts

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]>
chore: merge master

0590ce4a3b9cc0bf1224ff5d297d774ec4303423 authored over 9 years ago by Remy Sharp <[email protected]>
test: local js script not minified

Fail to uglify local js script with TypeError: undefined is not a function

f89ed538f57c3efd89de946d484db8b6d0d811df authored over 9 years ago by Guillaume Girou <[email protected]>
chore: add semantic release

Woot

01037594f74d333d90cd854e558485768e47740d authored over 9 years ago by Remy Sharp <[email protected]>
test: put jscs as part of tests

Because, yes, I'd like a consistent code style!

aace364794f744faa4464bc44fbc56b8f335656e authored over 9 years ago by Remy Sharp <[email protected]>
chore: remove .gitmodules

No longer used. [skip ci]

27d9e8e8b0f3bff9f7f4c8fa8da05db4c0c90aa9 authored over 9 years ago by Remy Sharp <[email protected]>
docs: show how to test a single fixture

ac1ca3deb948a9c175615cb21246c70821af629f authored over 9 years ago by Remy Sharp <[email protected]>
test: simplify assets in tests

c8e4cab6cad2bfa6cde3c73b48f9c29dc6531727 authored over 9 years ago by Remy Sharp <[email protected]>
test: include external import test

And contributing file for others to see how to file issues

348f8a3199cc28b09c089b166431f029fa24733e authored over 9 years ago by Remy Sharp <[email protected]>
test: drop travis 0.8 test

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]>
1.0.1

eb35f185771074348c4c8e12ff5ac98e875478d1 authored over 9 years ago by Remy Sharp <[email protected]>
fix: minified scripts being removed

Also add test

06c8132aa3f953bd7a54130526d3995b010d6e0d authored over 9 years ago by Remy Sharp <[email protected]>
docs: tidy up some text

a0f685a9069d3fc187f53553f4c3bf09d1576e35 authored over 9 years ago by Remy Sharp <[email protected]>
docs: add travis badge

[ci skip]

e1d8dcc84cc0c635ceb82ffeeb1ff43b615c50e9 authored over 9 years ago by Remy Sharp <[email protected]>
Merge pull request #51 from remy/feature/refactor

Full refactor across to cheerio

1eb1238c94057f2bff9a2541afec818e26ff7ac8 authored over 9 years ago by Remy Sharp <[email protected]>
feat: auto-update + help

e046c3739ac3f4b513d9247837c23819467f5b9e authored over 9 years ago by Remy Sharp <[email protected]>
chore: support 0.8

ef60842815faf72a9d41635b8240b5a9e2de1ca5 authored over 9 years ago by Remy Sharp <[email protected]>
test: add full tests

66537964610b4544e6353b4a8e66e3e160e21e9c authored over 9 years ago by Remy Sharp <[email protected]>
feat: scripts and compression

743018c1a0a63a79cb6057489f1fad86d66a3d1f authored over 9 years ago by Remy Sharp <[email protected]>
fix: background images in CSS

96ac1b7ac859ffb86f1055ab48d3bbfb43c9e691 authored over 9 years ago by Remy Sharp <[email protected]>
chore: remove submodule

308aaa6be249ba949804325661351f0fe312ff25 authored over 9 years ago by Remy Sharp <[email protected]>
fix: simple depth imports working

eabd7c544188c1d0af839c304f60f9937de3491c authored over 9 years ago by Remy Sharp <[email protected]>
fix: use own cli parser

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]>
fix: relative urls

96d7bf2fe3844b527feb7397d1d49cd44b1eb9c9 authored over 9 years ago by Remy Sharp <[email protected]>
feat: removing comments + white space

8dfea139c83f7bd0d5558a46f62c5a495cbc0cd9 authored over 9 years ago by Remy Sharp <[email protected]>
feat: CSS links working

50bd5a0f177291724e1dd68058cfd940fcbfd5c9 authored over 9 years ago by Remy Sharp <[email protected]>
refactor: HTML pulling down, events, images

16944df7643b9cf5f7a0ee93396cf8e1bc3285cd authored over 9 years ago by Remy Sharp <[email protected]>
0.1.15

2343fb5fdd8eb0a0616018f8774b58d063009e51 authored over 9 years ago by Remy Sharp <[email protected]>
0.1.16

c940480c487b627153502f7329858002238c1d4e authored over 9 years ago by Remy Sharp <[email protected]>
Merge pull request #46 from jpotter/master

Fix calls to existsSync; fix non-zero exit code on error

e628109750dd99725e32f931be7ad634d4c3de4e authored almost 10 years ago by Remy Sharp <[email protected]>
Non-zero exit on failure, so that scripts using inliner know to halt

4fb1190c414b30707a5d34893dce7025ec836acd authored almost 10 years ago by Build Server <[email protected]>
Fix path.existsSync calls

77cfbd6e497097e6c5faa57e1503ce1f81704671 authored almost 10 years ago by Build Server <[email protected]>
Merge pull request #41 from mccartney/master

Fixes #13 (in upstream)

60d7cd7de67ee4f90cb79510d5ea762fb6db8322 authored over 10 years ago by Remy Sharp <[email protected]>
Fixes #13 (in upstream)

2f6a3bb1b31098b8ee0ef2f59524d4c0eb4b056a authored over 10 years ago by Grzegorz Oledzki <[email protected]>
Merge pull request #38 from TJKoury/patch-1

Change for null cases

d86313172ea52cacb42b4c95c2f370b61d9a6095 authored over 10 years ago by Remy Sharp <[email protected]>
Change for null cases

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]>
Merge pull request #36 from jorendorff/master

Support relative <img src=> URLs.

574f2c3ed043179ad3d1a5c66b1f3da760612e03 authored about 11 years ago by Remy Sharp <[email protected]>
Support relative <img src=> URLs.

img.src is an absolute URL. jsdom's img.src getter produces this URL by
resolving the <img src=>...

4e5d0b6eca349038ce68bc48ce964bd4e47c7f72 authored about 11 years ago by Jason Orendorff <[email protected]>
Merge pull request #30 from Andyroid1978/html_parsing_error_fix

Update inliner.js

909b96323dc0e2975125494d46ef74ede0fd21aa authored over 11 years ago by Remy Sharp <[email protected]>
Update inliner.js

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]>
Merge pull request #28 from jpalardy/patch-1

Update package.json

c8ffae55790f2bf9a14c846ab4f13484ae3095d4 authored over 11 years ago by Remy Sharp <[email protected]>
Update package.json

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]>
error handling for a) missing body in scripts, b) jsdom failing to parse HTML

4f1af5c7d6890a2f930fc81824371cab692a31a1 authored about 13 years ago by Remy Sharp <[email protected]>
fixed exception where comments could not be found

7e30780fe453f9d179f4ab4445ad2de89b2444a9 authored about 13 years ago by Remy Sharp <[email protected]>
moved to commander for options and fixed up JS parsing errors

229d4f146bee890d39667c81cc6510b43d11bed2 authored about 13 years ago by Remy Sharp <[email protected]>
bump version

8a5f50fd0d9eb80d6521aba966e5de95b80fa281 authored about 13 years ago by Remy Sharp <[email protected]>
fixed HTML encoding when it should not have been happening

aa2d63aefea9ee27fb7a4fcc75fc7d1abd8717e9 authored about 13 years ago by Remy Sharp <[email protected]>
bump version

a81db9687f911c443809c0720c9278050db89e5b authored about 13 years ago by Remy Sharp <[email protected]>
fix missing some closing script in scripts

ee87478e9312c6c00ff5670498fb90c597df61ca authored about 13 years ago by Remy Sharp <[email protected]>
bump

2e765450879d0ce52e258cfe6fa9d97c41481f40 authored about 13 years ago by Remy Sharp <[email protected]>
updated package for 0.6 support

801e7ece22a63719595eb5d164c203a64eb69b17 authored about 13 years ago by Remy Sharp <[email protected]>
Merge branch 'master' of github.com:remy/inliner

ffc6431b0ea4350f8331e2ef25ba771454f0f2c2 authored over 13 years ago by remy <[email protected]>
fixed defaults being overwritten

e1ae854e67c55b5a0f5c486d0535ddb6c1381e46 authored over 13 years ago by remy <[email protected]>
Merge branch 'master' of github.com:remy/inliner

01dd4c743b6902a958ee02da70b04c4a366e234a authored over 13 years ago by remy <[email protected]>
+ license

bd8890c6f4805b7a0c168c7e536ca01b266ce011 authored over 13 years ago by remy <[email protected]>
fixed cache on inliner when used as a module

291182beec2759ca9732139ec85b00118956a7fa authored over 13 years ago by remy <[email protected]>
Fixed style elements with direct descendant selectors being stripped, ie. body > * { foo: bar} was being converted to: body*{foo:bar} - missing '>'.

68a0bc8e88bc3271664fedb3ce272c743c26d8da authored over 13 years ago by remy <[email protected]>
Fixed bug where printf control characters were causing JS inlining to break, i.e. console.log('12%d') => 12NaN instead of compressed to 12%d - was affecting people including jQuery minified.

78204a7f210070696c48bba09eab1d6c1d926ed8 authored over 13 years ago by remy <[email protected]>
Fixed situation where minified inline JavaScript includes a <script> tag - needs to be escaped.

52b8f70a58528b83aeb435b48758c6734eb4925d authored over 13 years ago by remy <[email protected]>
typo in readme

c418d6f32c13b5a218f9f5448d90fc04cd17d5a6 authored over 13 years ago by remy <[email protected]>
Forgot CSS images in the no image options

fb9991d6795aaa72a6fddb23d5cc1291aa2ef7bb authored over 13 years ago by remy <[email protected]>
Merge branch 'master' of github.com:remy/inliner

c64afcc42fcdd4275862e36d817173cf0f3344f6 authored over 13 years ago by remy <[email protected]>
Updated help with details of command line options and how to include as a submodule.

fbee9f9534c3ce7df348781d6cc439249168ffe3 authored over 13 years ago by remy <[email protected]>
pre white space now remains intact, inliner executable supports more options on command line - in addition to optionally not base64 encoding images.

7c9b89f0a9c63c2edd1592cd4f62f4341d5374f9 authored over 13 years ago by remy <[email protected]>
Merge pull request #9 from gregersrygg/master

Strip whitespace in css url()

7827c4c7dc754163ccc8a433084f70e22f272dc1 authored over 13 years ago by Remy Sharp <[email protected]>
tweaking package versions

1417f2d28e9b6d360fabafc56bd890da2227d982 authored over 13 years ago by remy <[email protected]>
Support whitespace for css-urls according to spec http://www.w3.org/TR/CSS21/syndata.html#uri

5ab47ddfaee40b717d9b1321a3224d3a3957d32d authored over 13 years ago by Gregers Gram Rygg <[email protected]>