This commit is contained in:
metacryst
2026-01-09 11:14:27 -06:00
parent cf03c95664
commit 637c9e4674
2149 changed files with 527743 additions and 0 deletions

16
node_modules/native-run/dist/utils/fn.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.once = void 0;
function once(fn) {
let called = false;
let r;
const wrapper = (...args) => {
if (!called) {
called = true;
r = fn(...args);
}
return r;
};
return wrapper;
}
exports.once = once;