Socket
Socket
Sign inDemoInstall

from-cwd

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.1.0

1

index.d.ts
export default function fromCWD (...paths: string[]): string;
export function fromCWD (...paths: string[]): string;

@@ -43,1 +43,2 @@ 'use strict';

module.exports = fromCWD;
module.exports.fromCWD = fromCWD;

2

package.json
{
"name": "from-cwd",
"version": "1.0.1",
"version": "1.1.0",
"description": "Resolve path from CWD (Current Working Directory)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -20,2 +20,4 @@ # from-cwd

const fromCWD = require('from-cwd');
// or
const { fromCWD } = require('from-cwd');

@@ -22,0 +24,0 @@ const resolvedPath1 = fromCWD('my-folder/my.file');

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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