path-is-absolute
Advanced tools
Comparing version 1.0.1 to 2.0.0
@@ -9,3 +9,3 @@ 'use strict'; | ||
// https://github.com/nodejs/node/blob/b3fcc245fb25539909ef1d5eaa01dbf92e168633/lib/path.js#L56 | ||
var splitDeviceRe = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/; | ||
var splitDeviceRe = /^([a-zA-Z]:|[\\/]{2}[^\\/]+[\\/]+[^\\/]+)?([\\/])?([\s\S]*?)$/; | ||
var result = splitDeviceRe.exec(path); | ||
@@ -12,0 +12,0 @@ var device = result[1] || ''; |
{ | ||
"name": "path-is-absolute", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "Node.js 0.12 path.isAbsolute() ponyfill", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -0,1 +1,7 @@ | ||
# Deprecated | ||
This package is no longer relevant as Node.js 0.12 is unmaintained. | ||
--- | ||
# path-is-absolute [![Build Status](https://travis-ci.org/sindresorhus/path-is-absolute.svg?branch=master)](https://travis-ci.org/sindresorhus/path-is-absolute) | ||
@@ -2,0 +8,0 @@ |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
3699
66
1