base project

This commit is contained in:
2025-05-02 15:42:14 +02:00
commit ea2b94bf65
3682 changed files with 392213 additions and 0 deletions

25
node_modules/secure-compare/index.js generated vendored Executable file
View File

@@ -0,0 +1,25 @@
/**
* Expose secure-compare
*/
module.exports = compare;
/**
* Secure compare
*/
function compare (a, b) {
if (typeof a !== 'string' || typeof b !== 'string') return false;
var mismatch = a.length === b.length ? 0 : 1;
if (mismatch) {
b = a;
}
for (var i = 0, il = a.length; i < il; ++i) {
mismatch |= (a.charCodeAt(i) ^ b.charCodeAt(i));
}
return mismatch === 0;
};