Deno plugins (#42)

Switch from BoaJS to Deno core
This commit is contained in:
Gregory Schier authored and GitHub committed 2024-06-07 10:47:41 -07:00
1 parent f43b38c893
commit acfc254a58
32 files changed
+1378 -5663

No files matched your search

-17
View File
@@ -1,17 +0,0 @@
function u(r) {
let e;
try {
e = JSON.parse(r);
} catch {
return;
}
if (!(!t(e) || !("yaakSchema" in e)))
return "requests" in e.resources && (e.resources.httpRequests = e.resources.requests, delete e.resources.requests), { resources: e.resources };
}
function t(r) {
return Object.prototype.toString.call(r) === "[object Object]";
}
export {
t as isJSObject,
u as pluginHookImport
};