feat: Upgrade to Astro with full PDPA compliance
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.
This commit is contained in:
9
node_modules/css-tree/lib/tokenizer/adopt-buffer.js
generated
vendored
Normal file
9
node_modules/css-tree/lib/tokenizer/adopt-buffer.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
const MIN_SIZE = 16 * 1024;
|
||||
|
||||
export function adoptBuffer(buffer = null, size) {
|
||||
if (buffer === null || buffer.length < size) {
|
||||
return new Uint32Array(Math.max(size + 1024, MIN_SIZE));
|
||||
}
|
||||
|
||||
return buffer;
|
||||
};
|
||||
Reference in New Issue
Block a user