[Pkg-javascript-commits] [node-parse-filepath] 05/05: patch the dependency on is-absolute with path-is-absolute

Paolo Greppi paolog-guest at moszumanska.debian.org
Mon Dec 12 12:23:17 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-parse-filepath.

commit 89b20c6863546d17787eca485171f253e83790c5
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Mon Dec 12 12:10:26 2016 +0000

    patch the dependency on is-absolute with path-is-absolute
---
 debian/control                          |  2 +-
 debian/patches/00-path-is-absolute.diff | 17 +++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index dc7b3d4..563c687 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,7 @@ Depends:
  , nodejs
  , node-path-root (>= 0.1.1)
  , node-map-cache (>= 0.2.0)
- , node-is-absolute (>= 0.2.3)
+ , node-path-is-absolute
 Description: Parses a filepath into an object
  Node.js module that provides a polyfill for the native path.parse,
  that parses a filepath into an object with absolute filepath,
diff --git a/debian/patches/00-path-is-absolute.diff b/debian/patches/00-path-is-absolute.diff
new file mode 100644
index 0000000..30b4cf8
--- /dev/null
+++ b/debian/patches/00-path-is-absolute.diff
@@ -0,0 +1,17 @@
+Description: Patch the dependency on is-absolute with path-is-absolute
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-parse-filepath/index.js
+===================================================================
+--- node-parse-filepath.orig/index.js
++++ node-parse-filepath/index.js
+@@ -1,7 +1,7 @@
+ 'use strict';
+ 
+ var path = require('path');
+-var isAbsolute = require('is-absolute');
++var isAbsolute = require('path-is-absolute');
+ var pathRoot = require('path-root');
+ var MapCache = require('map-cache');
+ var cache = new MapCache();
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9057e9c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-path-is-absolute.diff

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



More information about the Pkg-javascript-commits mailing list