cordova-android/node_modules/path-is-absolute
Christopher J. Brody 84cb08b23e Revert "Other minor dependencies updates in 7.1.x patch"
This reverts commit 5a5f544a48.

Rationale: base64-js update in 5a5f544 causes extra
base64-js version to be installed under plist
(node_modules/plist/node_modules/base64-js),
which would need to be committed to satisfy the needs
of the deprecated Node.js 4 version.

The extra base64-js version in
node_modules/plist/node_modules/base64-js
was missed at the time 5a5f544 was committed.

The base64-js update in 5a5f544 is now deemed as
not wanted due to the extra base64-js version that
would need to be committed.

The other dependencies updates in 5a5f544
may be nice to have but not considered necessary
for the patch release.

Reverting now to unblock the upcoming 7.1.4 patch release.

Note that neither 5a5f544 nor this revert will
show up in the master branch.
2018-11-22 22:18:32 -05:00
..
index.js CB-14145 commit updated node_modules in 7.1.x only 2018-07-11 08:57:13 -04:00
license CB-14145 commit updated node_modules in 7.1.x only 2018-07-11 08:57:13 -04:00
package.json Revert "Other minor dependencies updates in 7.1.x patch" 2018-11-22 22:18:32 -05:00
readme.md CB-14145 commit updated node_modules in 7.1.x only 2018-07-11 08:57:13 -04:00

path-is-absolute Build Status

Node.js 0.12 path.isAbsolute() ponyfill

Install

$ npm install --save path-is-absolute

Usage

const pathIsAbsolute = require('path-is-absolute');

// Running on Linux
pathIsAbsolute('/home/foo');
//=> true
pathIsAbsolute('C:/Users/foo');
//=> false

// Running on Windows
pathIsAbsolute('C:/Users/foo');
//=> true
pathIsAbsolute('/home/foo');
//=> false

// Running on any OS
pathIsAbsolute.posix('/home/foo');
//=> true
pathIsAbsolute.posix('C:/Users/foo');
//=> false
pathIsAbsolute.win32('C:/Users/foo');
//=> true
pathIsAbsolute.win32('/home/foo');
//=> false

API

See the path.isAbsolute() docs.

pathIsAbsolute(path)

pathIsAbsolute.posix(path)

POSIX specific version.

pathIsAbsolute.win32(path)

Windows specific version.

License

MIT © Sindre Sorhus