File: 00-path-is-absolute.diff

package info (click to toggle)
node-parse-filepath 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 148 kB
  • sloc: javascript: 564; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 571 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Patch the dependency on is-absolute with path-is-absolute
Forwarded: not-needed
Author: Paolo Greppi <paolo.greppi@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();