cspell-dictionary 9.6.0 → 9.6.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.
@@ -1,9 +1,2 @@
1
- export declare function measurePerfStart(name: string): void;
2
- export declare function measurePerfEnd(name: string): void;
3
- /**
4
- * Creates performance marks and measures the time taken between them.
5
- * @param name - name of the performance entry
6
- * @returns a function to stop the timer.
7
- */
8
- export declare function measurePerf(name: string): () => void;
1
+ export { measurePerf } from '@cspell/cspell-performance-monitor';
9
2
  //# sourceMappingURL=performance.d.ts.map
@@ -1,19 +1,2 @@
1
- export function measurePerfStart(name) {
2
- performance.mark(name + '-start');
3
- }
4
- export function measurePerfEnd(name) {
5
- performance.mark(name + '-end');
6
- performance.measure(name, name + '-start', name + '-end');
7
- }
8
- /**
9
- * Creates performance marks and measures the time taken between them.
10
- * @param name - name of the performance entry
11
- * @returns a function to stop the timer.
12
- */
13
- export function measurePerf(name) {
14
- measurePerfStart(name);
15
- return () => {
16
- measurePerfEnd(name);
17
- };
18
- }
1
+ export { measurePerf } from '@cspell/cspell-performance-monitor';
19
2
  //# sourceMappingURL=performance.js.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "provenance": true
6
6
  },
7
- "version": "9.6.0",
7
+ "version": "9.6.1",
8
8
  "description": "A spelling dictionary library useful for checking words and getting suggestions.",
9
9
  "type": "module",
10
10
  "sideEffects": false,
@@ -54,9 +54,10 @@
54
54
  "node": ">=20"
55
55
  },
56
56
  "dependencies": {
57
- "@cspell/cspell-pipe": "9.6.0",
58
- "@cspell/cspell-types": "9.6.0",
59
- "cspell-trie-lib": "9.6.0",
57
+ "@cspell/cspell-performance-monitor": "9.6.1",
58
+ "@cspell/cspell-pipe": "9.6.1",
59
+ "@cspell/cspell-types": "9.6.1",
60
+ "cspell-trie-lib": "9.6.1",
60
61
  "fast-equals": "^6.0.0"
61
62
  },
62
63
  "devDependencies": {
@@ -64,5 +65,5 @@
64
65
  "gensequence": "^8.0.8",
65
66
  "lorem-ipsum": "^2.0.8"
66
67
  },
67
- "gitHead": "163793ddf2a0ad90bc7c90351698a106003297af"
68
+ "gitHead": "666fb79096d25c53af9519cad07030e7aca597e1"
68
69
  }