@gjsify/fs 0.64.13 → 0.64.14

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.
@@ -1 +1 @@
1
- import"./_virtual/_rolldown/runtime.js";import{trackRequest as e,untrackRequest as t}from"@gjsify/utils/main-loop";function request(n){return e(),(...e)=>{try{n(...e)}finally{t()}}}export{request};
1
+ import{trackedCallback as e}from"@gjsify/utils/main-loop";const t=e;export{t as request};
@@ -1,6 +1,3 @@
1
- /**
2
- * Count one request now and wrap its Gio completion callback so the count
3
- * drops after the callback has run. Pass the wrapped callback straight to the
4
- * `*_async` call: every Gio async call completes exactly once.
5
- */
6
- export declare function request<A extends unknown[]>(callback: (...args: A) => void): (...args: A) => void;
1
+ import { trackedCallback } from '@gjsify/utils/main-loop';
2
+ /** Count one request and wrap its Gio completion callback; see `trackedCallback`. */
3
+ export declare const request: typeof trackedCallback;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/fs",
3
- "version": "0.64.13",
3
+ "version": "0.64.14",
4
4
  "description": "Node.js fs module for Gjs",
5
5
  "module": "lib/esm/index.js",
6
6
  "types": "lib/types/index.d.ts",
@@ -66,9 +66,9 @@
66
66
  "fs"
67
67
  ],
68
68
  "devDependencies": {
69
- "@gjsify/cli": "^0.64.13",
70
- "@gjsify/unit": "^0.64.13",
71
- "@gjsify/web-streams": "^0.64.13",
69
+ "@gjsify/cli": "^0.64.14",
70
+ "@gjsify/unit": "^0.64.14",
71
+ "@gjsify/web-streams": "^0.64.14",
72
72
  "@types/node": "^25.9.2",
73
73
  "typescript": "^6.0.3"
74
74
  },
@@ -76,11 +76,11 @@
76
76
  "@girs/gio-2.0": "5.4.0",
77
77
  "@girs/giounix-2.0": "5.4.0",
78
78
  "@girs/glib-2.0": "5.4.0",
79
- "@gjsify/buffer": "^0.64.13",
80
- "@gjsify/events": "^0.64.13",
81
- "@gjsify/stream": "^0.64.13",
82
- "@gjsify/url": "^0.64.13",
83
- "@gjsify/utils": "^0.64.13"
79
+ "@gjsify/buffer": "^0.64.14",
80
+ "@gjsify/events": "^0.64.14",
81
+ "@gjsify/stream": "^0.64.14",
82
+ "@gjsify/url": "^0.64.14",
83
+ "@gjsify/utils": "^0.64.14"
84
84
  },
85
85
  "gjsify": {
86
86
  "runtimes": {