@konker.dev/tiny-money-fp 0.0.4 → 0.1.0

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.
@@ -1,7 +1,7 @@
1
1
  import type currencyCodes from 'currency-codes';
2
2
  export declare const TAG = "generate-currency-defs";
3
3
  export declare function log(...args: Array<unknown>): void;
4
- export declare function resolveDecimalsFromN(n: number): "N.ZERO" | "N.ONE" | "N.TWO" | "N.THREE";
4
+ export declare function resolveDecimalsFromN(n: number): "N.ONE" | "N.THREE" | "N.TWO" | "N.ZERO";
5
5
  export declare function resolveMultiplierFromN(n: number): "NonNegativeRational.NonNegativeRational(N.ONE, N.NAT_ONE_HUNDRED)" | "NonNegativeRational.NonNegativeRational(N.ONE, N.NAT_ONE_THOUSAND)";
6
6
  export declare function resolveScaleFromDigitsMajor(def: currencyCodes.CurrencyCodeRecord, unit: string): {
7
7
  unit: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konker.dev/tiny-money-fp",
3
- "version": "0.0.4",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "author": "Konrad Markus <mail@konker.dev>",
6
6
  "license": "ISC",
@@ -730,33 +730,33 @@
730
730
  ],
731
731
  "main": "dist/index.js",
732
732
  "dependencies": {
733
- "effect": "^3.19.13",
734
- "@konker.dev/tiny-error-fp": "0.1.12"
733
+ "effect": "^3.21.4",
734
+ "@konker.dev/tiny-error-fp": "0.2.0"
735
735
  },
736
736
  "devDependencies": {
737
- "@arethetypeswrong/cli": "^0.18.2",
738
- "@effect/language-service": "^0.62.5",
739
- "@eslint/compat": "^2.0.0",
740
- "@eslint/js": "^9.39.2",
741
- "@konker.dev/common-config": "^0.7.0",
742
- "@types/node": "^25.0.3",
743
- "@vitest/coverage-istanbul": "^4.0.16",
737
+ "@arethetypeswrong/cli": "^0.18.4",
738
+ "@effect/language-service": "^0.86.4",
739
+ "@eslint/compat": "^2.1.0",
740
+ "@eslint/js": "^10.0.1",
741
+ "@konker.dev/common-config": "^0.10.0",
742
+ "@types/node": "^26.1.0",
743
+ "@vitest/coverage-istanbul": "^4.1.9",
744
744
  "currency-codes": "^2.2.0",
745
- "eslint": "^9.39.2",
745
+ "eslint": "^10.6.0",
746
746
  "eslint-plugin-fp": "^2.3.0",
747
- "eslint-plugin-prettier": "^5.5.4",
748
- "eslint-plugin-simple-import-sort": "^12.1.1",
749
- "eslint-plugin-sort-destructure-keys": "^2.0.0",
750
- "handlebars": "^4.7.8",
747
+ "eslint-plugin-prettier": "^5.5.6",
748
+ "eslint-plugin-simple-import-sort": "^13.0.0",
749
+ "eslint-plugin-sort-destructure-keys": "^3.0.0",
750
+ "handlebars": "^4.7.9",
751
751
  "leasot": "^14.4.0",
752
752
  "madge": "^8.0.0",
753
- "prettier": "^3.7.4",
754
- "tsx": "^4.21.0",
753
+ "prettier": "^3.9.4",
754
+ "tsx": "^4.23.0",
755
755
  "type-coverage": "^2.29.7",
756
- "typedoc": "^0.28.15",
757
- "typescript": "^5.9.3",
758
- "typescript-eslint": "^8.50.1",
759
- "vitest": "^4.0.16"
756
+ "typedoc": "^0.28.19",
757
+ "typescript": "^6.0.3",
758
+ "typescript-eslint": "^8.62.1",
759
+ "vitest": "^4.1.9"
760
760
  },
761
761
  "scripts": {
762
762
  "test": "vitest run --coverage",