Check in built plugins again

This commit is contained in:
Gregory Schier
2024-02-24 18:27:36 -08:00
parent 937df6a024
commit 9f25ab39c6
9 changed files with 9663 additions and 2 deletions

View File

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