[Pkg-javascript-commits] [node-jquery] 02/03: replace gzip-js with zlib
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Dec 31 12:08:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-jquery.
commit 34e8d40b220f97adbe06a7d8e340f785f0f6737e
Author: Pirate Praveen <praveen at debian.org>
Date: Sun Dec 31 17:37:54 2017 +0530
replace gzip-js with zlib
---
debian/patches/series | 1 +
debian/patches/skip-gzip-js.patch | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
index 3a085a0..4b2d73e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
skip-modules.patch
+skip-gzip-js.patch
diff --git a/debian/patches/skip-gzip-js.patch b/debian/patches/skip-gzip-js.patch
new file mode 100644
index 0000000..033fcc0
--- /dev/null
+++ b/debian/patches/skip-gzip-js.patch
@@ -0,0 +1,20 @@
+--- a/Gruntfile.js
++++ b/Gruntfile.js
+@@ -13,7 +13,7 @@
+
+ var fs = require( "fs" ),
+ stripJSONComments = require( "strip-json-comments" ),
+- gzip = require( "gzip-js" ),
++ zlib = require( "zlib" ),
+ srcHintOptions = readOptionalJSON( "src/.jshintrc" ),
+ newNode = !/^v0/.test( process.version ),
+
+@@ -39,7 +39,7 @@
+ options: {
+ compress: {
+ gz: function( contents ) {
+- return gzip.zip( contents, {} ).length;
++ return zlib.createGzip( contents, {} ).length;
+ }
+ },
+ cache: "build/.sizecache.json"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-jquery.git
More information about the Pkg-javascript-commits
mailing list