@zeesoft/i18n-verify 3.3.8 → 3.4.0

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/executor.mjs CHANGED
@@ -6685,10 +6685,13 @@ class Resource {
6685
6685
  static load() {
6686
6686
  const bundle = {};
6687
6687
  if (Config.getOptions()?.l10nResourcePath) {
6688
- const resourcePath = joinPaths(
6689
- Config.getOptions()?.isSelfManagedRun ? "" : process.cwd(),
6690
- Config.getOptions()?.l10nResourcePath
6691
- );
6688
+ let resourcePath = Config.getOptions().l10nResourcePath;
6689
+ if (resolve(resourcePath) === resourcePath) {
6690
+ resourcePath = joinPaths(
6691
+ Config.getOptions()?.isSelfManagedRun ? "" : process.cwd(),
6692
+ resourcePath
6693
+ );
6694
+ }
6692
6695
  if (fileExists(resourcePath)) {
6693
6696
  Resource.#processFile(resourcePath, bundle);
6694
6697
  } else if (dirExists(resourcePath)) {
@@ -6870,6 +6873,7 @@ class Config {
6870
6873
  }
6871
6874
  static build() {
6872
6875
  Config.#driver = build$1(Config.#type, Config.#driver);
6876
+ Config.#executor = null;
6873
6877
  Config.resetCounter();
6874
6878
  }
6875
6879
  static getGarbledChars() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeesoft/i18n-verify",
3
- "version": "3.3.8",
3
+ "version": "3.4.0",
4
4
  "description": "Library to perform I18n verification on Nightwatch, WebdriverIO or Selenium framework projects",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",