@ms-cloudpack/path-utilities
Advanced tools
Comparing version 2.7.25 to 2.7.26
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 |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37758
315