@bejibun/core 0.2.11 → 0.2.12

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/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  ---
5
5
 
6
+ ## [v0.2.12](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.2.1...v0.2.12) - 2026-02-13
7
+
8
+ ### 🩹 Fixes
9
+
10
+ ### 📖 Changes
11
+ - Added backward compatibility for queue jobs.
12
+
13
+ ### ❤️Contributors
14
+ - Havea Crenata ([@crenata](https://github.com/crenata))
15
+
16
+ **Full Changelog**: https://github.com/Bejibun-Framework/bejibun-core/blob/master/CHANGELOG.md
17
+
18
+ ---
19
+
6
20
  ## [v0.2.11](https://github.com/Bejibun-Framework/bejibun-core/compare/v0.2.1...v0.2.11) - 2026-02-13
7
21
 
8
22
  ### 🩹 Fixes
@@ -11,15 +11,20 @@ export default class NamespaceBuilder {
11
11
  return parts.join("/");
12
12
  }
13
13
  async walk(directory) {
14
- const entries = readdirSync(directory, { withFileTypes: true });
15
- const files = await Promise.all(entries.map((entry) => {
16
- const fullPath = join(directory, entry.name);
17
- return entry.isDirectory() ?
18
- this.walk(fullPath) :
19
- ((fullPath.endsWith(".ts") ||
20
- fullPath.endsWith(".js")) ? [fullPath] : []);
21
- }));
22
- return files.flat();
14
+ try {
15
+ const entries = readdirSync(directory, { withFileTypes: true });
16
+ const files = await Promise.all(entries.map((entry) => {
17
+ const fullPath = join(directory, entry.name);
18
+ return entry.isDirectory() ?
19
+ this.walk(fullPath) :
20
+ ((fullPath.endsWith(".ts") ||
21
+ fullPath.endsWith(".js")) ? [fullPath] : []);
22
+ }));
23
+ return files.flat();
24
+ }
25
+ catch {
26
+ return [];
27
+ }
23
28
  }
24
29
  async load(directory) {
25
30
  const files = await this.walk(directory);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bejibun/core",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "author": "Havea Crenata <havea.crenata@gmail.com>",
5
5
  "repository": {
6
6
  "type": "git",