@embroider/shared-internals
Advanced tools
Comparing version 2.8.2-unstable.b89b741 to 2.8.2-unstable.e6197c7
{ | ||
"name": "@embroider/shared-internals", | ||
"version": "2.8.2-unstable.b89b741", | ||
"version": "2.8.2-unstable.e6197c7", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "Utilities shared among the other embroider packages", |
@@ -5,3 +5,3 @@ export { AppMeta, AddonMeta, PackageInfo } from './metadata'; | ||
export { default as Package, V2AddonPackage as AddonPackage, V2AppPackage as AppPackage, V2Package } from './package'; | ||
export { default as PackageCache } from './package-cache'; | ||
export { default as PackageCache, type PackageCachePublicAPI } from './package-cache'; | ||
export type { RewrittenPackageIndex } from './rewritten-package-cache'; | ||
@@ -8,0 +8,0 @@ export { RewrittenPackageCache } from './rewritten-package-cache'; |
@@ -12,1 +12,6 @@ import Package from './package'; | ||
} | ||
type PublicAPI<T> = { | ||
[K in keyof T]: T[K]; | ||
}; | ||
export type PackageCachePublicAPI = PublicAPI<PackageCache>; | ||
export {}; |
@@ -67,6 +67,2 @@ "use strict"; | ||
let candidate = filename; | ||
const virtualPrefix = 'embroider_virtual:'; | ||
if (candidate.includes(virtualPrefix)) { | ||
candidate = candidate.replace(/^.*embroider_virtual:/, ''); | ||
} | ||
// first we look through our cached packages for any that are rooted right | ||
@@ -73,0 +69,0 @@ // at or above the file. |
@@ -1,2 +0,2 @@ | ||
import PackageCache from './package-cache'; | ||
import PackageCache, { type PackageCachePublicAPI } from './package-cache'; | ||
import Package from './package'; | ||
@@ -7,6 +7,3 @@ export interface RewrittenPackageIndex { | ||
} | ||
type PublicAPI<T> = { | ||
[K in keyof T]: T[K]; | ||
}; | ||
export declare class RewrittenPackageCache implements PublicAPI<PackageCache> { | ||
export declare class RewrittenPackageCache implements PackageCachePublicAPI { | ||
private plainCache; | ||
@@ -27,2 +24,1 @@ constructor(plainCache: PackageCache); | ||
} | ||
export {}; |
Sorry, the diff of this file is not supported yet
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
173606
1712