Comparing version 0.0.16 to 0.0.17
@@ -5,4 +5,4 @@ var Q = require('q'), | ||
PATH = require('path'), | ||
URL = require('url'), | ||
INHERIT = require('inherit'); | ||
INHERIT = require('inherit'), | ||
U = require('./util'); | ||
@@ -105,10 +105,7 @@ exports.Tech = INHERIT({ | ||
pathTo: function(path) { | ||
return URL.resolve(PATH.dirname(this.path), path); | ||
return U.pathToUnix(PATH.resolve(PATH.dirname(this.path), path)); | ||
}, | ||
pathFrom: function(path) { | ||
var p = PATH.relative(PATH.dirname(path), this.path); | ||
if (PATH.sep === '\\') p = p.replace(/\\/g, '/'); | ||
return p; | ||
return U.pathToUnix(PATH.relative(PATH.dirname(path), this.path)); | ||
} | ||
@@ -115,0 +112,0 @@ |
{ | ||
"name": "borschik", | ||
"description": "Extendable builder for text-based file formats", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"homepage": "http://github.com/veged/borschik", | ||
@@ -6,0 +6,0 @@ "author": "Sergey Berezhnoy <veged@ya.ru> (http://github.com/veged)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25541
526