@embroider/shared-internals
Advanced tools
Comparing version 3.0.1-unstable.6ba367d to 3.0.1-unstable.6d402c9
{ | ||
"name": "@embroider/shared-internals", | ||
"version": "3.0.1-unstable.6ba367d", | ||
"version": "3.0.1-unstable.6d402c9", | ||
"private": false, | ||
@@ -28,3 +28,3 @@ "description": "Utilities shared among the other embroider packages", | ||
"semverIncrementAs": { | ||
"major": "premajor", | ||
"major": "prerelease", | ||
"minor": "prerelease", | ||
@@ -31,0 +31,0 @@ "patch": "prerelease" |
@@ -14,3 +14,7 @@ "use strict"; | ||
} | ||
if ((0, fs_1.existsSync)((0, path_1.resolve)(appRoot, 'package.json'))) { | ||
if (process.env.EMBROIDER_WORKING_DIRECTORY) { | ||
let path = (0, path_1.resolve)(appRoot, process.env.EMBROIDER_WORKING_DIRECTORY); | ||
return path; | ||
} | ||
else if ((0, fs_1.existsSync)((0, path_1.resolve)(appRoot, 'package.json'))) { | ||
// the normal case | ||
@@ -17,0 +21,0 @@ let path = (0, path_1.resolve)(appRoot, 'node_modules', '.embroider'); |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
171973
1688
17