Socket
Socket
Sign inDemoInstall

@ms-cloudpack/path-utilities

Package Overview
Dependencies
Maintainers
0
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ms-cloudpack/path-utilities - npm Package Compare versions

Comparing version 2.7.25 to 2.7.26

7

lib/pathSymbolReplacement.js
import os from 'os';
import path from 'path';
import { slash } from '@ms-cloudpack/path-string-parsing';
// Supported file symbols:

@@ -11,7 +9,4 @@ const fileSymbols = {

// Replace the file symbols.
const filePath = str.replace(/{(\w+)}/g, (match, symbol) => fileSymbols[symbol] || match);
// Get a standard path.
const certFilePath = slash(path.resolve(filePath));
return certFilePath;
return str.replace(/{(\w+)}/g, (match, symbol) => fileSymbols[symbol] || match);
}
//# sourceMappingURL=pathSymbolReplacement.js.map

2

package.json
{
"name": "@ms-cloudpack/path-utilities",
"version": "2.7.25",
"version": "2.7.26",
"description": "Utilities for resolving paths between source/intermediate/output locations in Cloudpack.",

@@ -5,0 +5,0 @@ "license": "MIT",

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc