Skip to content

Commit

Permalink
switch to maintained fork of node-zopfli
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvaindumont committed Jul 24, 2018
1 parent 15546e4 commit 2eac9a7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
The original [shrink-ray](https://www.npmjs.com/package/shrink-ray) appears to be abandoned.
This mirror has all the dependencies up-to-date.

Note for Node 10.0 and up: `node-zopfli` now fails to install from the network. You must pass the `--build-from-source` flag to `npm install` and have all the native addon build requirements met:

- Python 2.7
- A C++ build environment (e.g. GCC)

[![Version](https://img.shields.io/npm/v/shrink-ray-current.svg?style=flat-square)](https://www.npmjs.com/package/shrink-ray-current)
[![License](https://img.shields.io/npm/l/shrink-ray-current.svg?style=flat-square)](https://www.npmjs.com/package/shrink-ray-current)
[![Build status](https://img.shields.io/travis/Alorel/shrink-ray.svg?style=flat-square)](https://travis-ci.org/Alorel/shrink-ray)
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const util = require('util');
const vary = require('vary');
const Writable = require('stream').Writable;
const zlib = require('zlib');
const zopfli = require('node-zopfli');
const zopfli = require('node-zopfli-es');

/**
* Module exports.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"iltorb": "^2.0.0",
"lru-cache": "^4.0.0",
"multipipe": "^2.0.0",
"node-zopfli": "^2.0.0",
"node-zopfli-es": "^0.0.2",
"on-headers": "^1.0.0",
"stream-buffers": "^3.0.0",
"vary": "^1.1.0"
Expand Down

0 comments on commit 2eac9a7

Please sign in to comment.