Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

path-absolute

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-absolute - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

index.js
'use strict'
const osHomedir = require('os-homedir')
const os = require('os')
const path = require('path')

@@ -21,3 +21,3 @@

function getHomedir () {
const home = osHomedir()
const home = os.homedir()
if (!home) throw new Error('Could not find the homedir')

@@ -24,0 +24,0 @@ return home

{
"name": "path-absolute",
"version": "1.0.0",
"version": "1.0.1",
"description": "Resolves a path to an absolute path. Supports tilde",

@@ -14,6 +14,3 @@ "main": "index.js",

},
"repository": {
"type": "git",
"url": "git+https://github.com/zkochan/path-absolute.git"
},
"repository": "https://github.com/zkochan/packages/tree/master/path-absolute",
"keywords": [

@@ -24,14 +21,15 @@ "path",

],
"author": "Zoltan Kochan",
"license": "MIT",
"bugs": {
"url": "https://github.com/zkochan/path-absolute/issues"
"author": {
"name": "Zoltan Kochan",
"email": "z@kochan.io",
"url": "https://kochan.io/"
},
"homepage": "https://github.com/zkochan/path-absolute#readme",
"dependencies": {
"os-homedir": "^1.0.2"
"engines": {
"node": ">=4"
},
"license": "MIT",
"homepage": "https://github.com/zkochan/packages/tree/master/path-absolute#readme",
"devDependencies": {
"standard": "^10.0.3"
"standard": "12.0.1"
}
}

@@ -5,4 +5,4 @@ # path-absolute

<!--@shields('npm', 'travis')-->
[![npm version](https://img.shields.io/npm/v/path-absolute.svg)](https://www.npmjs.com/package/path-absolute) [![Build Status](https://img.shields.io/travis/zkochan/path-absolute/master.svg)](https://travis-ci.org/zkochan/path-absolute)
<!--@shields('npm')-->
[![npm version](https://img.shields.io/npm/v/path-absolute.svg)](https://www.npmjs.com/package/path-absolute)
<!--/@-->

@@ -9,0 +9,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc