feat: init

This commit is contained in:
2026-02-13 22:02:30 +01:00
commit 8f9ff830fb
16711 changed files with 3307340 additions and 0 deletions

23
node_modules/on-change/source/ignore-property.js generated vendored Normal file
View File

@@ -0,0 +1,23 @@
import isSymbol from './is-symbol.js';
export default function ignoreProperty(cache, options, property) {
if (cache.isUnsubscribed) {
return true;
}
if (options.ignoreSymbols && isSymbol(property)) {
return true;
}
// Only strings can be prefixed with "_"
if (options.ignoreUnderscores && typeof property === 'string' && property.charAt(0) === '_') {
return true;
}
const keys = options.ignoreKeys;
if (keys) {
return Array.isArray(keys) ? keys.includes(property) : (keys instanceof Set ? keys.has(property) : false);
}
return false;
}