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

@drovp/save-as-path

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drovp/save-as-path - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

dist/index.js

@@ -30,2 +30,3 @@ "use strict";

title: `Destination`,
formatSelection: formatDestinationSelection,
description: `

@@ -212,1 +213,6 @@ <p>Where to save the file. Relative path starts at the input file's directory. Template is a JavaScript template literal allowing embedded expressions.</p>

exports.uid = uid;
function formatDestinationSelection(path, oldPath) {
const oldPathParts = (oldPath || '').split(/\\|\//);
const lastOldPathPart = oldPathParts[oldPathParts.length - 1];
return Path.join(path, lastOldPathPart);
}

6

package.json
{
"name": "@drovp/save-as-path",
"version": "2.0.0",
"version": "2.0.1",
"description": "Drovp utility to determine path for file results.",

@@ -46,3 +46,3 @@ "homepage": "https://github.com/drovp/save-as-path",

"devDependencies": {
"@types/node": "^16.11.11",
"@types/node": "^16.11.12",
"ava": "^3.15.0",

@@ -53,3 +53,3 @@ "npm-run-all": "^4.1.5",

"tslib": "^2.3.1",
"typescript": "^4.5.2"
"typescript": "^4.5.3"
},

@@ -56,0 +56,0 @@ "dependencies": {

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