ts-fsrs 5.2.0 → 5.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-fsrs",
3
- "version": "5.2.0",
3
+ "version": "5.2.2",
4
4
  "description": "ts-fsrs is a versatile package written in TypeScript that supports ES modules, CommonJS, and UMD. It implements the Free Spaced Repetition Scheduler (FSRS) algorithm, enabling developers to integrate FSRS into their flashcard applications to enhance the user learning experience.",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.cjs",
@@ -16,11 +16,11 @@
16
16
  },
17
17
  "type": "module",
18
18
  "scripts": {
19
- "lint": "eslint src/",
20
- "lint::fix": "eslint --fix src/ && prettier --write src/",
19
+ "check": "biome check ./src ./__tests__",
20
+ "check::fix": "biome check --write ./src ./__tests__",
21
21
  "dev": "rollup -c rollup.config.ts --configPlugin esbuild -w",
22
- "test": "jest --config=jest.config.js --passWithNoTests",
23
- "test::coverage": "jest --config=jest.config.js --coverage",
22
+ "test": "jest --config=jest.config.ts --passWithNoTests",
23
+ "test::coverage": "jest --config=jest.config.ts --coverage",
24
24
  "test::publish": "yalc publish",
25
25
  "prebuild": "rimraf ./dist",
26
26
  "prepare": "rollup -c rollup.config.ts --configPlugin esbuild",
@@ -29,28 +29,25 @@
29
29
  "docs": "tsx ./typedoc.ts"
30
30
  },
31
31
  "devDependencies": {
32
- "@eslint/js": "^9.28.0",
33
- "@rollup/plugin-commonjs": "^28.0.3",
32
+ "@biomejs/biome": "2.1.3",
33
+ "@rollup/plugin-commonjs": "^28.0.6",
34
34
  "@rollup/plugin-json": "^6.1.0",
35
35
  "@rollup/plugin-node-resolve": "^16.0.1",
36
- "@types/jest": "^29.5.14",
37
- "@types/node": "^20.19.0",
36
+ "@types/jest": "^30.0.0",
37
+ "@types/node": "^24.0.7",
38
38
  "decimal.js": "^10.5.0",
39
- "eslint": "^9.28.0",
40
- "eslint-config-prettier": "^10.1.2",
41
- "jest": "^29.7.0",
42
- "prettier": "^3.5.3",
39
+ "jest": "^30.0.3",
43
40
  "rimraf": "^6.0.1",
44
- "rollup": "^4.42.0",
41
+ "rollup": "^4.44.1",
45
42
  "rollup-plugin-dts": "^6.2.1",
46
43
  "rollup-plugin-esbuild": "^6.2.1",
47
- "ts-jest": "^29.3.4",
44
+ "ts-jest": "^29.4.0",
45
+ "ts-node": "^10.9.2",
48
46
  "tslib": "^2.8.1",
47
+ "tsx": "^4.20.3",
49
48
  "typedoc": "0.28.3",
50
49
  "typedoc-plugin-extras": "4.0.0",
51
- "tsx": "^4.19.4",
52
- "typescript": "^5.8.3",
53
- "typescript-eslint": "^8.33.1"
50
+ "typescript": "^5.8.3"
54
51
  },
55
52
  "author": "ishiko",
56
53
  "license": "MIT",
@@ -80,4 +77,4 @@
80
77
  "is-core-module": "npm:@nolyfill/is-core-module@^1"
81
78
  }
82
79
  }
83
- }
80
+ }