upath
Advanced tools
Comparing version 1.0.5 to 1.1.0
@@ -5,3 +5,3 @@ /** | ||
* A proxy to `path`, replacing `\` with `/` for all results & new methods to normalize & join keeping leading `./` and add, change, default, trim file extensions. | ||
* Version 1.0.5 - Compiled on 2018-04-27 18:54:33 | ||
* Version 1.1.0 - Compiled on 2018-05-15 22:18:40 | ||
* Repository git://github.com/anodynos/upath | ||
@@ -15,3 +15,3 @@ * Copyright(c) 2018 Angelos Pikoulas <agelos.pikoulas@gmail.com> | ||
var VERSION = '1.0.5'; // injected by urequire-rc-inject-version | ||
var VERSION = '1.1.0'; // injected by urequire-rc-inject-version | ||
@@ -24,3 +24,3 @@ var extraFn, extraFunctions, isFunction, isString, isValidExt, name, path, propName, propValue, toUnix, upath, slice = [].slice, indexOf = [].indexOf || function (item) { | ||
return -1; | ||
}; | ||
}, hasProp = {}.hasOwnProperty; | ||
path = require("path"); | ||
@@ -164,2 +164,4 @@ isFunction = function (val) { | ||
for (name in extraFunctions) { | ||
if (!hasProp.call(extraFunctions, name)) | ||
continue; | ||
extraFn = extraFunctions[name]; | ||
@@ -166,0 +168,0 @@ if (upath[name] !== void 0) { |
{ | ||
"name": "upath", | ||
"description": "A proxy to `path`, replacing `\\` with `/` for all results & new methods to normalize & join keeping leading `./` and add, change, default, trim file extensions.", | ||
"version": "1.0.5", | ||
"version": "1.1.0", | ||
"homepage": "http://github.com/anodynos/upath/", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -1,2 +0,2 @@ | ||
# upath v1.0.5 | ||
# upath v1.1.0 | ||
@@ -23,3 +23,4 @@ [![Build Status](https://travis-ci.org/anodynos/upath.svg?branch=master)](https://travis-ci.org/anodynos/upath) | ||
* upath has no runtime dependencies, except built-in `path` (as of 1.0.4) | ||
* travis-ci tested in node versions 4 to 10 | ||
@@ -26,0 +27,0 @@ ## Why ? |
33919
391
336