@aigne/platform-helpers 0.6.0 → 0.6.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.
- package/CHANGELOG.md +7 -0
- package/lib/cjs/nodejs/index.browser.d.ts +1 -0
- package/lib/cjs/nodejs/index.browser.js +3 -0
- package/lib/cjs/nodejs/index.node.d.ts +1 -0
- package/lib/cjs/nodejs/index.node.js +4 -0
- package/lib/esm/nodejs/index.browser.d.ts +1 -0
- package/lib/esm/nodejs/index.browser.js +3 -0
- package/lib/esm/nodejs/index.node.d.ts +1 -0
- package/lib/esm/nodejs/index.node.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.1](https://github.com/AIGNE-io/aigne-framework/compare/platform-helpers-v0.6.0...platform-helpers-v0.6.1) (2025-08-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **core:** examples cases that failed when using aigne-hub ([#337](https://github.com/AIGNE-io/aigne-framework/issues/337)) ([0d4a31c](https://github.com/AIGNE-io/aigne-framework/commit/0d4a31c24d9e7d26f00d1accb80719d9ad79a4c6))
|
|
9
|
+
|
|
3
10
|
## [0.6.0](https://github.com/AIGNE-io/aigne-framework/compare/platform-helpers-v0.5.1...platform-helpers-v0.6.0) (2025-08-06)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.nodejs = void 0;
|
|
7
7
|
const node_fs_1 = __importDefault(require("node:fs"));
|
|
8
8
|
const promises_1 = __importDefault(require("node:fs/promises"));
|
|
9
|
+
const node_os_1 = __importDefault(require("node:os"));
|
|
9
10
|
const node_path_1 = __importDefault(require("node:path"));
|
|
10
11
|
const node_util_1 = require("node:util");
|
|
11
12
|
exports.nodejs = {
|
|
@@ -28,4 +29,7 @@ exports.nodejs = {
|
|
|
28
29
|
get path() {
|
|
29
30
|
return node_path_1.default;
|
|
30
31
|
},
|
|
32
|
+
get os() {
|
|
33
|
+
return node_os_1.default;
|
|
34
|
+
},
|
|
31
35
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import fsSync from "node:fs";
|
|
2
2
|
import fs from "node:fs/promises";
|
|
3
|
+
import os from "node:os";
|
|
3
4
|
import path from "node:path";
|
|
4
5
|
import { inspect } from "node:util";
|
|
5
6
|
export const nodejs = {
|
|
@@ -22,4 +23,7 @@ export const nodejs = {
|
|
|
22
23
|
get path() {
|
|
23
24
|
return path;
|
|
24
25
|
},
|
|
26
|
+
get os() {
|
|
27
|
+
return os;
|
|
28
|
+
},
|
|
25
29
|
};
|