1
0

run npm install to generate a package lock

This commit is contained in:
sashinexists
2024-12-07 13:18:31 +11:00
parent e7d08a91b5
commit 23437d228e
2501 changed files with 290663 additions and 0 deletions

16
node_modules/@weborigami/origami/src/dev/log.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
import yaml from "../origami/yaml.js";
/**
* Log the first argument to the console as a side effect and return the second
* argument. If no second argument is provided, return the first argument.
*
* @this {import("@weborigami/types").AsyncTree|null}
* @param {any} object
* @param {any} [result]
*/
export default async function log(result, object = result) {
let text = object !== undefined ? await yaml.call(this, object) : "undefined";
text = text?.trim();
console.log(text);
return result;
}