Socket
Socket
Sign inDemoInstall

@ms-cloudpack/import-map

Package Overview
Dependencies
Maintainers
3
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ms-cloudpack/import-map - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

11

lib/getRuntimeEntryPaths.js
import { flattenExportsMap } from '@ms-cloudpack/package-utilities';
import { slash } from '@ms-cloudpack/path-string-parsing';
import path from 'path';

@@ -23,3 +24,9 @@ /**

const unbundledFilePath = isExternal ? unbundledExportsMap[importPath] : undefined;
let actualFilePath = unbundledFilePath ? unbundledPrefix + unbundledFilePath : bundledPrefix + bundledFilePath;
let actualFilePath = unbundledFilePath
? unbundledPrefix
? path.join(unbundledPrefix + unbundledFilePath)
: unbundledFilePath
: bundledPrefix
? path.join(bundledPrefix + bundledFilePath)
: bundledFilePath;
const ext = path.extname(actualFilePath);

@@ -40,3 +47,3 @@ // For bundled files:

if (actualFilePath !== undefined) {
result[importPath] = actualFilePath;
result[importPath] = slash(actualFilePath);
}

@@ -43,0 +50,0 @@ }

5

package.json
{
"name": "@ms-cloudpack/import-map",
"version": "0.1.1",
"version": "0.1.2",
"description": "Utilities for creating/updating import maps.",

@@ -17,3 +17,4 @@ "license": "MIT",

"dependencies": {
"@ms-cloudpack/package-utilities": "^6.0.0",
"@ms-cloudpack/package-utilities": "^6.0.1",
"@ms-cloudpack/path-string-parsing": "^1.2.1",
"@ms-cloudpack/bundler-types": "^0.25.1",

@@ -20,0 +21,0 @@ "@ms-cloudpack/config-types": "^0.6.0",

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