[Pkg-javascript-commits] [node-magic-string] 05/06: Refresh patches

Julien Puydt julien.puydt at laposte.net
Thu Mar 15 15:11:33 UTC 2018


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository node-magic-string.

commit 8194dfdd9d99237737dbfeb624ed4a96539b19c1
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Thu Mar 15 16:02:23 2018 +0100

    Refresh patches
---
 debian/changelog                         |  1 +
 debian/patches/fix_undefined_chunk.patch |  2 +-
 debian/patches/optional_argument.patch   | 10 +++++-----
 debian/patches/series                    |  1 -
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7f4a216..6bc75f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 node-magic-string (0.23.2-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Refresh patches (and dropping one).
 
  -- Julien Puydt <julien.puydt at laposte.net>  Thu, 15 Mar 2018 15:53:40 +0100
 
diff --git a/debian/patches/fix_undefined_chunk.patch b/debian/patches/fix_undefined_chunk.patch
index 3d9b9a6..fd6bca1 100644
--- a/debian/patches/fix_undefined_chunk.patch
+++ b/debian/patches/fix_undefined_chunk.patch
@@ -4,7 +4,7 @@ Forwarded: https://github.com/Rich-Harris/magic-string/issues/129
 
 --- a/src/MagicString.js
 +++ b/src/MagicString.js
-@@ -524,6 +524,7 @@
+@@ -525,6 +525,7 @@
  		const searchForward = index > chunk.end;
  
  		while ( true ) {
diff --git a/debian/patches/optional_argument.patch b/debian/patches/optional_argument.patch
index 87e34ba..88a34de 100644
--- a/debian/patches/optional_argument.patch
+++ b/debian/patches/optional_argument.patch
@@ -4,7 +4,7 @@ Forwarded: no
 
 --- a/src/MagicString.js
 +++ b/src/MagicString.js
-@@ -13,7 +13,8 @@
+@@ -14,7 +14,8 @@
  	storeName: false
  };
  
@@ -14,7 +14,7 @@ Forwarded: no
  	const chunk = new Chunk( 0, string.length, string );
  
  	Object.defineProperties( this, {
-@@ -455,7 +456,9 @@
+@@ -456,7 +457,9 @@
  		return this;
  	},
  
@@ -41,9 +41,9 @@ Forwarded: no
  		return bundle;
  	},
  
--	generateMap ( options = {} ) {
-+	generateMap ( options ) {
-+                if (!options) options = {};
+-	generateDecodedMap ( options = {} ) {
++	generateDecodedMap ( options ) {
++                if (!options) options = {}
  		const names = [];
  		this.sources.forEach( source => {
  			Object.keys( source.content.storedNames ).forEach( name => {
diff --git a/debian/patches/series b/debian/patches/series
index 811b2c8..1aac6c6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 optional_argument.patch
 fix_undefined_chunk.patch
-external_skip.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-magic-string.git



More information about the Pkg-javascript-commits mailing list