Skip to content

Commit

Permalink
Compress LINK rel and SCRIPT attributes (#22)
Browse files Browse the repository at this point in the history
* Compress LINK rel and SCRIPT attributes
* Add support for namespaced data decompression (#24)
* Fix for Travis Chrome headless
* Package version 1.1.0
  • Loading branch information
nicjansma committed Sep 12, 2018
1 parent b0fa3ac commit 917df81
Show file tree
Hide file tree
Showing 12 changed files with 5,825 additions and 176 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ node_js:
- "6"
- "5"
- "4"
sudo: required
addons:
chrome: stable
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# resourcetiming-compression.js

v1.0.2
v1.1.0

[http://nicj.net](http://nicj.net)

Expand Down Expand Up @@ -253,6 +253,11 @@ Or via ``gulp``:

## Version History

* v1.1.0 - 2018-09-11:
* Decompresses properly when multiple special entries exist
* Compress and decompress `LINK rel` and `SCRIPT` attributes
* Decompress namespaced data
* Adds new `INITIATOR_TYPES`
* v1.0.2 - 2018-07-06:
* Fixed decompression when multiple special entries exist
* v1.0.1 - 2018-04-13:
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "resourcetiming-compression",
"version": "1.0.2",
"version": "1.1.0",
"homepage": "https://github.com/nicjansma/resourcetiming-compression.js",
"authors": [
"Nic Jansma <nic@nicj.net>",
Expand Down
2 changes: 1 addition & 1 deletion dist/resourcetiming-compression.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/resourcetiming-decompression.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion karma.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ module.exports = function(config) {

frameworks: ["mocha", "expect"],
reporters: ["progress", "coverage", "tap"],
browsers: ["PhantomJS"],
browsers: ["ChromeHeadlessNoSandbox"],

// you can define custom flags
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: "ChromeHeadless",
flags: ["--no-sandbox"]
}
},

files: [
"src/*.js",
Expand Down
Loading

0 comments on commit 917df81

Please sign in to comment.