node-karin 0.12.2-5.pr.206.f697b50 → 0.12.2-5.pr.206.fbd5d27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.cjs +0 -1
- package/dist/cli/index.js +0 -1
- package/package.json +1 -1
package/dist/cli/index.cjs
CHANGED
|
@@ -487,7 +487,6 @@ var addEnvOption = (command) => {
|
|
|
487
487
|
return command.option("-e, --env <files>", "\u6307\u5B9A\u73AF\u5883\u53D8\u91CF\u6587\u4EF6\uFF0C\u591A\u4E2A\u6587\u4EF6\u7528\u9017\u53F7\u5206\u9694");
|
|
488
488
|
};
|
|
489
489
|
var getVersion = () => {
|
|
490
|
-
if (process.env.npm_package_version) return process.env.npm_package_version;
|
|
491
490
|
try {
|
|
492
491
|
const file = url.fileURLToPath(new URL("../../package.json", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href))));
|
|
493
492
|
const packageJson = JSON.parse(fs2__default.default.readFileSync(file, "utf-8"));
|
package/dist/cli/index.js
CHANGED
|
@@ -478,7 +478,6 @@ var addEnvOption = (command) => {
|
|
|
478
478
|
return command.option("-e, --env <files>", "\u6307\u5B9A\u73AF\u5883\u53D8\u91CF\u6587\u4EF6\uFF0C\u591A\u4E2A\u6587\u4EF6\u7528\u9017\u53F7\u5206\u9694");
|
|
479
479
|
};
|
|
480
480
|
var getVersion = () => {
|
|
481
|
-
if (process.env.npm_package_version) return process.env.npm_package_version;
|
|
482
481
|
try {
|
|
483
482
|
const file = fileURLToPath(new URL("../../package.json", import.meta.url));
|
|
484
483
|
const packageJson = JSON.parse(fs2.readFileSync(file, "utf-8"));
|