@getcoherent/core 0.6.42 → 0.6.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -634,6 +634,14 @@ export const config = ${JSON.stringify(this.config, null, 2)} as const
|
|
|
634
634
|
}
|
|
635
635
|
const lastPart = pathParts[pathParts.length - 1];
|
|
636
636
|
const oldValue = current[lastPart];
|
|
637
|
+
if (String(oldValue) === String(value)) {
|
|
638
|
+
return {
|
|
639
|
+
success: true,
|
|
640
|
+
modified: [],
|
|
641
|
+
config: this.config,
|
|
642
|
+
message: `Token ${path} is already set to ${value}, skipped`
|
|
643
|
+
};
|
|
644
|
+
}
|
|
637
645
|
current[lastPart] = value;
|
|
638
646
|
this.config = validateConfig(this.config);
|
|
639
647
|
const affectedComponents = [];
|
|
@@ -6375,7 +6383,7 @@ ${productColumn}
|
|
|
6375
6383
|
${companyColumn}
|
|
6376
6384
|
</div>
|
|
6377
6385
|
<div className="flex items-center justify-between border-t py-6 text-xs text-muted-foreground">
|
|
6378
|
-
<p
|
|
6386
|
+
<p>\xA9 {new Date().getFullYear()} ${appName}. All rights reserved.</p>
|
|
6379
6387
|
<div className="flex gap-4">
|
|
6380
6388
|
<span>Privacy Policy</span>
|
|
6381
6389
|
<span>Terms of Service</span>
|
|
@@ -7994,7 +8002,7 @@ export function Footer() {
|
|
|
7994
8002
|
</div>
|
|
7995
8003
|
</div>
|
|
7996
8004
|
<div className="border-t py-6 text-center text-xs text-muted-foreground">
|
|
7997
|
-
|
|
8005
|
+
\xA9 {new Date().getFullYear()} Coherent Design Method. All rights reserved.
|
|
7998
8006
|
</div>
|
|
7999
8007
|
</div>
|
|
8000
8008
|
</footer>
|