harper.js 0.24.0 → 0.25.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harper.js",
3
- "version": "0.24.0",
3
+ "version": "0.25.1",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Elijah Potter",
6
6
  "description": "The grammar checker for developers.",
@@ -24,7 +24,7 @@
24
24
  "@microsoft/api-extractor": "^7.50.1",
25
25
  "@vitest/browser": "^3.0.6",
26
26
  "playwright": "^1.49.1",
27
- "typescript": "~5.7.3",
27
+ "typescript": "~5.8.2",
28
28
  "vite": "^6.1.0",
29
29
  "vite-plugin-dts": "^4.5.0",
30
30
  "vite-plugin-virtual": "^0.3.0",
@@ -98,7 +98,7 @@ for (const [linterName, Linter] of Object.entries(linters)) {
98
98
  test(`${linterName} can make things title case`, async () => {
99
99
  const linter = new Linter();
100
100
 
101
- const titleCase = await linter.toTitleCase('THIS IS A TEST FOR MAKING TITLES');
101
+ const titleCase = await linter.toTitleCase('this is a test for making titles');
102
102
 
103
103
  expect(titleCase).toBe('This Is a Test for Making Titles');
104
104
  });
@@ -206,18 +206,3 @@ test('Linters have the same config format', async () => {
206
206
  expect(config).toBeTypeOf('object');
207
207
  }
208
208
  });
209
-
210
- test('Linters have the same JSON config format', async () => {
211
- const configs = [];
212
-
213
- for (const Linter of Object.values(linters)) {
214
- const linter = new Linter();
215
-
216
- configs.push(await linter.getLintConfigAsJSON());
217
- }
218
-
219
- for (const config of configs) {
220
- expect(config).toEqual(configs[0]);
221
- expect(config).toBeTypeOf('string');
222
- }
223
- });