jawere 1.5.0 → 1.5.1

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -13931,8 +13931,10 @@ function isDevMode() {
13931
13931
  if (process.env.NODE_ENV === "production") return false;
13932
13932
  if (process.env.NODE_ENV === "development") return true;
13933
13933
  const main2 = process.argv[1] || "";
13934
+ if (main2.includes("node_modules")) return false;
13935
+ if (main2.endsWith("bin/jawere.js")) return false;
13936
+ if (main2.includes("/dist/")) return false;
13934
13937
  if (main2.endsWith(".ts") || main2.includes("/src/")) return true;
13935
- if (main2.includes("/node_modules/") || main2.includes("/.local/lib/node_modules/")) return false;
13936
13938
  return true;
13937
13939
  }
13938
13940
  var cachedConfig = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jawere",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "jawere": "bin/jawere.js"