smol-toml 1.4.0 → 1.4.1

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.cjs CHANGED
@@ -351,7 +351,7 @@ function parseValue(value, toml, ptr, integersAsBigInt) {
351
351
  ptr
352
352
  });
353
353
  }
354
- if (isInt || integersAsBigInt)
354
+ if (isInt || integersAsBigInt === true)
355
355
  numeric = BigInt(value);
356
356
  }
357
357
  return numeric;
package/dist/primitive.js CHANGED
@@ -162,7 +162,7 @@ export function parseValue(value, toml, ptr, integersAsBigInt) {
162
162
  ptr: ptr,
163
163
  });
164
164
  }
165
- if (isInt || integersAsBigInt)
165
+ if (isInt || integersAsBigInt === true)
166
166
  numeric = BigInt(value);
167
167
  }
168
168
  return numeric;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "smol-toml",
3
3
  "license": "BSD-3-Clause",
4
- "version": "1.4.0",
4
+ "version": "1.4.1",
5
5
  "description": "A small, fast, and correct TOML parser/serializer",
6
6
  "author": "Cynthia <cyyynthia@borkenware.com>",
7
7
  "repository": "github:squirrelchat/smol-toml",