[Pkg-javascript-commits] [node-rollup-pluginutils] 03/06: Remove the patch and require a good nodejs

Julien Puydt julien.puydt at laposte.net
Fri Aug 18 13:59:28 UTC 2017


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

jpuydt-guest pushed a commit to branch master
in repository node-rollup-pluginutils.

commit a47d208e8886136f9cc14ff6b37a6aaa9e3c1db6
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Aug 18 15:45:04 2017 +0200

    Remove the patch and require a good nodejs
---
 debian/changelog                      |  1 -
 debian/control                        |  2 +-
 debian/patches/default_argument_value | 27 ---------------------------
 debian/patches/series                 |  1 -
 4 files changed, 1 insertion(+), 30 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 47e8200..8208313 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,5 @@
 node-rollup-pluginutils (2.0.1-2) UNRELEASED; urgency=medium
 
-  * Add a patch to avoid default argument values.
   * Rewrote d/rules.
 
  -- Julien Puydt <julien.puydt at laposte.net>  Sun, 13 Aug 2017 13:29:48 +0200
diff --git a/debian/control b/debian/control
index 00a8c1c..19e9a6f 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: web
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Julien Puydt <julien.puydt at laposte.net>
-Build-Depends: debhelper (>= 9), nodejs, node-es6-module-transpiler (>= 0.10.0-2), node-estree-walker, node-micromatch
+Build-Depends: debhelper (>= 9), nodejs (>= 6), node-es6-module-transpiler (>= 0.10.0-2), node-estree-walker, node-micromatch
 Standards-Version: 4.0.0
 Homepage: https://github.com/rollup/rollup-pluginutils
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-rollup-pluginutils.git
diff --git a/debian/patches/default_argument_value b/debian/patches/default_argument_value
deleted file mode 100644
index 1f7f647..0000000
--- a/debian/patches/default_argument_value
+++ /dev/null
@@ -1,27 +0,0 @@
-Description: don't use default argument values
-Author: Julien Puydt
-Forwarded: no
-
---- a/src/addExtension.js
-+++ b/src/addExtension.js
-@@ -1,6 +1,7 @@
- import { extname } from 'path';
- 
--export default function addExtension ( filename, ext = '.js' ) {
-+export default function addExtension ( filename, ext ) {
-+        if ( !ext) ext = '.js';
- 	if ( !extname( filename ) ) filename += ext;
- 	return filename;
- }
---- a/src/attachScopes.js
-+++ b/src/attachScopes.js
-@@ -75,7 +75,8 @@
- }
- 
- 
--export default function attachScopes ( ast, propertyName = 'scope' ) {
-+export default function attachScopes ( ast, propertyName ) {
-+        if ( !propertyName) propertyName = 'scope';
- 	let scope = new Scope();
- 
- 	walk( ast, {
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 33fc76b..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-default_argument_value

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



More information about the Pkg-javascript-commits mailing list