@digigov/text-search 1.1.0 → 1.1.2-fd2cea11

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +6 -1
  2. package/{dist/index.js → index.js} +1 -1
  3. package/package.json +6 -28
  4. package/.eslintrc.js +0 -3
  5. package/.prettierrc.js +0 -3
  6. package/.rush/temp/operation/build/state.json +0 -3
  7. package/.rush/temp/package-deps_build.json +0 -25
  8. package/.rush/temp/package-deps_publint.json +0 -25
  9. package/.rush/temp/shrinkwrap-deps.json +0 -158
  10. package/CHANGELOG.json +0 -79
  11. package/dist/CHANGELOG.md +0 -27
  12. package/dist/README.md +0 -70
  13. package/dist/package.json +0 -21
  14. package/dist/src/hook.spec.ts +0 -289
  15. package/dist/src/hook.ts +0 -50
  16. package/dist/src/index.ts +0 -4
  17. package/dist/src/search/__tests__/utils.spec.ts +0 -73
  18. package/dist/src/search/index.ts +0 -3
  19. package/dist/src/search/lang/gr/encoder.ts +0 -27
  20. package/dist/src/search/lang/gr/normalization-map.ts +0 -100
  21. package/dist/src/search/search-index.ts +0 -103
  22. package/dist/src/search/utils.ts +0 -72
  23. package/dist/src/types.ts +0 -65
  24. package/dist/test-utils/data.json +0 -552
  25. package/text-search.build.log +0 -13
  26. package/text-search.publint.log +0 -15
  27. package/tsconfig.json +0 -44
  28. /package/{dist/LICENSE → LICENSE} +0 -0
  29. /package/{dist/cjs → cjs}/hook/index.js +0 -0
  30. /package/{dist/cjs → cjs}/hook.spec/index.js +0 -0
  31. /package/{dist/cjs → cjs}/index.js +0 -0
  32. /package/{dist/cjs → cjs}/search/__tests__/utils.spec/index.js +0 -0
  33. /package/{dist/cjs → cjs}/search/index.js +0 -0
  34. /package/{dist/cjs → cjs}/search/lang/gr/encoder/index.js +0 -0
  35. /package/{dist/cjs → cjs}/search/lang/gr/normalization-map/index.js +0 -0
  36. /package/{dist/cjs → cjs}/search/search-index/index.js +0 -0
  37. /package/{dist/cjs → cjs}/search/utils/index.js +0 -0
  38. /package/{dist/cjs → cjs}/test-utils/data.json +0 -0
  39. /package/{dist/cjs → cjs}/types/index.js +0 -0
  40. /package/{dist/hook → hook}/index.js +0 -0
  41. /package/{dist/hook → hook}/package.json +0 -0
  42. /package/{dist/hook.d.ts → hook.d.ts} +0 -0
  43. /package/{dist/hook.spec → hook.spec}/index.js +0 -0
  44. /package/{dist/hook.spec → hook.spec}/package.json +0 -0
  45. /package/{dist/hook.spec.d.ts → hook.spec.d.ts} +0 -0
  46. /package/{dist/index.d.ts → index.d.ts} +0 -0
  47. /package/{dist/search → search}/__tests__/utils.spec/index.js +0 -0
  48. /package/{dist/search → search}/__tests__/utils.spec/package.json +0 -0
  49. /package/{dist/search → search}/__tests__/utils.spec.d.ts +0 -0
  50. /package/{dist/search → search}/index.d.ts +0 -0
  51. /package/{dist/search → search}/index.js +0 -0
  52. /package/{dist/search → search}/lang/gr/encoder/index.js +0 -0
  53. /package/{dist/search → search}/lang/gr/encoder/package.json +0 -0
  54. /package/{dist/search → search}/lang/gr/encoder.d.ts +0 -0
  55. /package/{dist/search → search}/lang/gr/normalization-map/index.js +0 -0
  56. /package/{dist/search → search}/lang/gr/normalization-map/package.json +0 -0
  57. /package/{dist/search → search}/lang/gr/normalization-map.d.ts +0 -0
  58. /package/{dist/search → search}/package.json +0 -0
  59. /package/{dist/search → search}/search-index/index.js +0 -0
  60. /package/{dist/search → search}/search-index/package.json +0 -0
  61. /package/{dist/search → search}/search-index.d.ts +0 -0
  62. /package/{dist/search → search}/utils/index.js +0 -0
  63. /package/{dist/search → search}/utils/package.json +0 -0
  64. /package/{dist/search → search}/utils.d.ts +0 -0
  65. /package/{dist/src/test-utils → test-utils}/data.json +0 -0
  66. /package/{dist/types → types}/index.js +0 -0
  67. /package/{dist/types → types}/package.json +0 -0
  68. /package/{dist/types.d.ts → types.d.ts} +0 -0
@@ -1,15 +0,0 @@
1
- Invoking: publint dist
2
- @digigov/text-search lint results:
3
- Suggestions:
4
- 1. pkg.module is used to output ESM, but pkg.exports is not defined. As NodeJS doesn't read pkg.module, the ESM output may be skipped. Consider adding pkg.exports to export the ESM output. pkg.module can usually be removed alongside too. (This will be a breaking change)
5
- Warnings:
6
- 1. /index.js is written in ESM, but is interpreted as CJS. Consider using the .mjs extension, e.g. /index.mjs
7
- 2. /search/__tests__/utils.spec/index.js is written in ESM, but is interpreted as CJS. Consider using the .mjs extension, e.g. /search/__tests__/utils.spec/index.mjs
8
- 3. /hook/index.js is written in ESM, but is interpreted as CJS. Consider using the .mjs extension, e.g. /hook/index.mjs
9
- 4. /search/lang/gr/encoder/index.js is written in ESM, but is interpreted as CJS. Consider using the .mjs extension, e.g. /search/lang/gr/encoder/index.mjs
10
- 5. /hook.spec/index.js is written in ESM, but is interpreted as CJS. Consider using the .mjs extension, e.g. /hook.spec/index.mjs
11
- 6. /search/utils/index.js is written in ESM, but is interpreted as CJS. Consider using the .mjs extension, e.g. /search/utils/index.mjs
12
- 7. /types/index.js is written in ESM, but is interpreted as CJS. Consider using the .mjs extension, e.g. /types/index.mjs
13
- 8. /search/lang/gr/normalization-map/index.js is written in ESM, but is interpreted as CJS. Consider using the .mjs extension, e.g. /search/lang/gr/normalization-map/index.mjs
14
- 9. /search/index.js is written in ESM, but is interpreted as CJS. Consider using the .mjs extension, e.g. /search/index.mjs
15
- 10. /search/search-index/index.js is written in ESM, but is interpreted as CJS. Consider using the .mjs extension, e.g. /search/search-index/index.mjs
package/tsconfig.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- "extends": "@digigov/cli-build/tsconfig.base",
3
- "compilerOptions": {
4
- "outDir": "dist",
5
- "strict": true,
6
- "noImplicitAny": true,
7
- "strictFunctionTypes": true,
8
- "strictBindCallApply": true,
9
- "strictPropertyInitialization": true,
10
- "alwaysStrict": true,
11
- "noImplicitReturns": true,
12
- "noFallthroughCasesInSwitch": true,
13
- "noUncheckedIndexedAccess": true,
14
- "noPropertyAccessFromIndexSignature": true,
15
- "paths": {
16
- "flexsearch": [
17
- "node_modules/@types/flexsearch"
18
- ],
19
- "@digigov/text-search": [
20
- "./src"
21
- ],
22
- "@digigov/text-search/": [
23
- "./src/"
24
- ],
25
- "@digigov/text-search/*": [
26
- "./src/*"
27
- ]
28
- },
29
- "types": [
30
- "node",
31
- "jest",
32
- "flexsearch"
33
- ],
34
- "esModuleInterop": true,
35
- "baseUrl": "./"
36
- },
37
- "include": [
38
- "./src"
39
- ],
40
- "exclude": [
41
- "node_modules",
42
- "dist"
43
- ]
44
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes