PDPA Features: ✅ Cookie consent banner ✅ Consent logging API ✅ Admin dashboard ✅ Privacy Policy ✅ Terms & Conditions Technical: ✅ Astro 5.x + Tailwind v4 ✅ Docker on port 80 ✅ SQLite database ✅ 15 pages built Ready for Easypanel deployment.
17 lines
370 B
JavaScript
17 lines
370 B
JavaScript
import Diff from './base.js';
|
|
class ArrayDiff extends Diff {
|
|
tokenize(value) {
|
|
return value.slice();
|
|
}
|
|
join(value) {
|
|
return value;
|
|
}
|
|
removeEmpty(value) {
|
|
return value;
|
|
}
|
|
}
|
|
export const arrayDiff = new ArrayDiff();
|
|
export function diffArrays(oldArr, newArr, options) {
|
|
return arrayDiff.diff(oldArr, newArr, options);
|
|
}
|