Socket
Socket
Sign inDemoInstall

upath

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

6

build/code/upath.js

@@ -5,5 +5,5 @@ /**

* 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.1.0 - Compiled on 2018-05-15 22:18:40
* Version 1.1.1 - Compiled on 2019-03-07 10:45:51
* Repository git://github.com/anodynos/upath
* Copyright(c) 2018 Angelos Pikoulas <agelos.pikoulas@gmail.com>
* Copyright(c) 2019 Angelos Pikoulas <agelos.pikoulas@gmail.com>
* License MIT

@@ -15,3 +15,3 @@ */

var VERSION = '1.1.0'; // injected by urequire-rc-inject-version
var VERSION = '1.1.1'; // injected by urequire-rc-inject-version

@@ -18,0 +18,0 @@ var extraFn, extraFunctions, isFunction, isString, isValidExt, name, path, propName, propValue, toUnix, upath, slice = [].slice, indexOf = [].indexOf || function (item) {

{
"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.1.0",
"version": "1.1.1",
"homepage": "http://github.com/anodynos/upath/",

@@ -43,3 +43,4 @@ "author": {

"engines": {
"node": ">=4"
"node": ">=4",
"yarn": ">=1"
},

@@ -46,0 +47,0 @@ "devDependencies": {

@@ -1,2 +0,2 @@

# upath v1.1.0
# upath v1.1.1

@@ -3,0 +3,0 @@ [![Build Status](https://travis-ci.org/anodynos/upath.svg?branch=master)](https://travis-ci.org/anodynos/upath)

@@ -147,3 +147,3 @@ declare module "upath" {

*
* Starting from leftmost {from} paramter, resolves {to} to an absolute path.
* Starting from leftmost {from} parameter, resolves {to} to an absolute path.
*

@@ -150,0 +150,0 @@ * If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc