@embroider/shared-internals
Advanced tools
Comparing version 2.5.2 to 2.5.3-unstable.11f2c70
{ | ||
"name": "@embroider/shared-internals", | ||
"version": "2.5.2", | ||
"version": "2.5.3-unstable.11f2c70", | ||
"private": false, | ||
@@ -27,2 +27,5 @@ "description": "Utilities shared among the other embroider packages", | ||
], | ||
"scripts": { | ||
"test": "jest" | ||
}, | ||
"dependencies": { | ||
@@ -41,2 +44,3 @@ "babel-import-util": "^2.0.0", | ||
"broccoli-node-api": "^1.7.0", | ||
"@embroider/test-support": "workspace:*", | ||
"@types/babel__core": "^7.1.14", | ||
@@ -52,11 +56,7 @@ "@types/babel__traverse": "^7.18.5", | ||
"tmp": "^0.1.0", | ||
"typescript": "^5.1.6", | ||
"@embroider/test-support": "0.36.0" | ||
"typescript": "^5.1.6" | ||
}, | ||
"engines": { | ||
"node": "12.* || 14.* || >= 16" | ||
}, | ||
"scripts": { | ||
"test": "jest" | ||
} | ||
} | ||
} |
@@ -51,2 +51,4 @@ "use strict"; | ||
exports.emberVirtualPackages.add('@glimmer/manager'); | ||
// ember-data pre 4.12 failed to declare this as a peer dependency of @ember-data/debug | ||
exports.emberVirtualPeerDeps.add('@ember-data/store'); | ||
// These are the known names that people use to import template precomiplation | ||
@@ -53,0 +55,0 @@ // macros from. |
@@ -66,3 +66,3 @@ "use strict"; | ||
ownerOfFile(filename) { | ||
let segments = filename.split(path_1.sep); | ||
let segments = filename.replace(/\\/g, '/').split(path_1.posix.sep); | ||
// first we look through our cached packages for any that are rooted right | ||
@@ -77,7 +77,7 @@ // at or above the file. | ||
let usedSegments = segments.slice(0, length); | ||
let candidate = usedSegments.join(path_1.sep); | ||
let candidate = usedSegments.join(path_1.posix.sep); | ||
if (this.rootCache.has(candidate)) { | ||
return this.rootCache.get(candidate); | ||
} | ||
if (getCachedExists([...usedSegments, 'package.json'].join(path_1.sep))) { | ||
if (getCachedExists([...usedSegments, 'package.json'].join(path_1.posix.sep))) { | ||
return this.get(candidate); | ||
@@ -84,0 +84,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1543
151379
58
2