@ms-cloudpack/import-map
Advanced tools
Comparing version 0.5.8 to 0.5.9
@@ -8,3 +8,3 @@ import type { PackageJsonExports } from '@ms-cloudpack/common-types'; | ||
* | ||
* @returns Mapping from import path (same as original exports map keys) to actual relative | ||
* @returns Mapping from import path (same as original exports map keys) to normalized relative | ||
* file path that will be used at runtime. | ||
@@ -11,0 +11,0 @@ */ |
import { flattenExportsMap } from '@ms-cloudpack/package-utilities'; | ||
import { slash } from '@ms-cloudpack/path-string-parsing'; | ||
import { normalizeRelativePath } from '@ms-cloudpack/path-string-parsing'; | ||
import { sourceExtensions } from '@ms-cloudpack/path-utilities'; | ||
@@ -11,3 +11,3 @@ import path from 'path'; | ||
* | ||
* @returns Mapping from import path (same as original exports map keys) to actual relative | ||
* @returns Mapping from import path (same as original exports map keys) to normalized relative | ||
* file path that will be used at runtime. | ||
@@ -48,3 +48,3 @@ */ | ||
if (actualFilePath !== undefined) { | ||
result[importPath] = slash(actualFilePath); | ||
result[importPath] = normalizeRelativePath(actualFilePath); | ||
} | ||
@@ -51,0 +51,0 @@ } |
{ | ||
"name": "@ms-cloudpack/import-map", | ||
"version": "0.5.8", | ||
"version": "0.5.9", | ||
"description": "Utilities for creating/updating import maps.", | ||
@@ -17,6 +17,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"@ms-cloudpack/common-types": "^0.6.2", | ||
"@ms-cloudpack/package-utilities": "^7.4.11", | ||
"@ms-cloudpack/path-string-parsing": "^1.2.2", | ||
"@ms-cloudpack/path-utilities": "^2.7.14", | ||
"@ms-cloudpack/common-types": "^0.7.0", | ||
"@ms-cloudpack/package-utilities": "^7.5.0", | ||
"@ms-cloudpack/path-string-parsing": "^1.2.3", | ||
"@ms-cloudpack/path-utilities": "^2.7.15", | ||
"merge": "^2.1.1" | ||
@@ -23,0 +23,0 @@ }, |
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
47347
84
84
19
2
+ Added@ms-cloudpack/common-types@0.23.40.7.2(transitive)
+ Added@ms-cloudpack/package-overrides@0.9.40(transitive)
+ Added@ms-cloudpack/path-utilities@2.7.54(transitive)
- Removed@ms-cloudpack/common-types@0.23.30.6.2(transitive)
- Removed@ms-cloudpack/package-overrides@0.9.39(transitive)
- Removed@ms-cloudpack/path-utilities@2.7.53(transitive)