- Migrated all pages from Next.js to Astro - Added PDPA-compliant Privacy Policy (Thai) - Added PDPA-compliant Terms & Conditions (Thai) - Added Cookie Policy with disclosure (Thai) - Implemented cookie consent banner (client-side) - Integrated Umami Analytics placeholder - Blog system with 3 posts - Optimized Docker configuration for production - Static site build (184KB, 11 pages) - Ready for Easypanel deployment Backup: /Users/kunthawatgreethong/Gitea/dealplustech-backup-nextjs-20260309.tar.gz
15 lines
331 B
JavaScript
15 lines
331 B
JavaScript
const { log, inspect } = require('util');
|
|
const assert = require('assert');
|
|
const diff = require('../');
|
|
|
|
const o1 = {};
|
|
const o2 = {};
|
|
o1.foo = o1;
|
|
o2.foo = o2;
|
|
|
|
assert.notEqual(o1, o2, 'not same object');
|
|
assert.notEqual(o1.foo, o2.foo, 'not same object');
|
|
|
|
const differences = diff(o1, o2);
|
|
log(inspect(differences, false, 9));
|