@digigov/text-search 1.2.0-e7d30530 → 1.2.0-eaf330f5

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Digigov v1.2.0-e7d30530
1
+ /** @license Digigov v1.2.0-eaf330f5
2
2
  *
3
3
  * This source code is licensed under the BSD-2-Clause license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/text-search",
3
- "version": "1.2.0-e7d30530",
3
+ "version": "1.2.0-eaf330f5",
4
4
  "description": "@digigov text-search",
5
5
  "author": "GRNET Developers <devs@lists.grnet.gr>",
6
6
  "license": "BSD-2-Clause",
@@ -14,8 +14,8 @@
14
14
  "flexsearch": "0.7.31"
15
15
  },
16
16
  "peerDependencies": {
17
- "react": "^18.3.0 || ^19.1.0",
18
- "react-dom": "^18.3.0 || ^19.1.0"
17
+ "react": ">=16.8.0 <19.0.0",
18
+ "react-dom": ">=16.8.0 <19.0.0"
19
19
  },
20
20
  "typings": "./index.d.ts"
21
21
  }
package/src/hook.spec.ts CHANGED
@@ -2,8 +2,6 @@ import { act, renderHook, waitFor } from '@testing-library/react';
2
2
  import useSearch from '@digigov/text-search/hook';
3
3
  import documents from '@digigov/text-search/test-utils/data.json';
4
4
 
5
- // TODO: This test file is currently being ignored. Fix flexsearch types issue
6
-
7
5
  describe('loading', () => {
8
6
  it('should start when searching', async () => {
9
7
  const { result } = renderHook(() => useSearch(documents, 'Anastasia'));