@templatical/import-topol 0.60.2 → 0.60.3

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -839,7 +839,7 @@ function normalizePlatform(raw) {
839
839
  }
840
840
  function nearestSize(px) {
841
841
  let best = ICON_SIZES[1];
842
- let gap = Infinity;
842
+ let gap = 1e400;
843
843
  for (const candidate of ICON_SIZES) {
844
844
  const d = Math.abs(candidate[0] - px);
845
845
  if (d < gap) {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@templatical/import-topol",
3
3
  "description": "Convert Topol.io email templates to Templatical format",
4
- "version": "0.60.2",
4
+ "version": "0.60.3",
5
5
  "bugs": "https://github.com/templatical/sdk/issues",
6
6
  "dependencies": {
7
- "@templatical/types": "0.60.2"
7
+ "@templatical/types": "0.60.3"
8
8
  },
9
9
  "devDependencies": {
10
10
  "@types/node": "^26.6.6",