@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.
- package/CHANGELOG.md +6 -1
- package/{dist/index.js → index.js} +1 -1
- package/package.json +6 -28
- package/.eslintrc.js +0 -3
- package/.prettierrc.js +0 -3
- package/.rush/temp/operation/build/state.json +0 -3
- package/.rush/temp/package-deps_build.json +0 -25
- package/.rush/temp/package-deps_publint.json +0 -25
- package/.rush/temp/shrinkwrap-deps.json +0 -158
- package/CHANGELOG.json +0 -79
- package/dist/CHANGELOG.md +0 -27
- package/dist/README.md +0 -70
- package/dist/package.json +0 -21
- package/dist/src/hook.spec.ts +0 -289
- package/dist/src/hook.ts +0 -50
- package/dist/src/index.ts +0 -4
- package/dist/src/search/__tests__/utils.spec.ts +0 -73
- package/dist/src/search/index.ts +0 -3
- package/dist/src/search/lang/gr/encoder.ts +0 -27
- package/dist/src/search/lang/gr/normalization-map.ts +0 -100
- package/dist/src/search/search-index.ts +0 -103
- package/dist/src/search/utils.ts +0 -72
- package/dist/src/types.ts +0 -65
- package/dist/test-utils/data.json +0 -552
- package/text-search.build.log +0 -13
- package/text-search.publint.log +0 -15
- package/tsconfig.json +0 -44
- /package/{dist/LICENSE → LICENSE} +0 -0
- /package/{dist/cjs → cjs}/hook/index.js +0 -0
- /package/{dist/cjs → cjs}/hook.spec/index.js +0 -0
- /package/{dist/cjs → cjs}/index.js +0 -0
- /package/{dist/cjs → cjs}/search/__tests__/utils.spec/index.js +0 -0
- /package/{dist/cjs → cjs}/search/index.js +0 -0
- /package/{dist/cjs → cjs}/search/lang/gr/encoder/index.js +0 -0
- /package/{dist/cjs → cjs}/search/lang/gr/normalization-map/index.js +0 -0
- /package/{dist/cjs → cjs}/search/search-index/index.js +0 -0
- /package/{dist/cjs → cjs}/search/utils/index.js +0 -0
- /package/{dist/cjs → cjs}/test-utils/data.json +0 -0
- /package/{dist/cjs → cjs}/types/index.js +0 -0
- /package/{dist/hook → hook}/index.js +0 -0
- /package/{dist/hook → hook}/package.json +0 -0
- /package/{dist/hook.d.ts → hook.d.ts} +0 -0
- /package/{dist/hook.spec → hook.spec}/index.js +0 -0
- /package/{dist/hook.spec → hook.spec}/package.json +0 -0
- /package/{dist/hook.spec.d.ts → hook.spec.d.ts} +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/search → search}/__tests__/utils.spec/index.js +0 -0
- /package/{dist/search → search}/__tests__/utils.spec/package.json +0 -0
- /package/{dist/search → search}/__tests__/utils.spec.d.ts +0 -0
- /package/{dist/search → search}/index.d.ts +0 -0
- /package/{dist/search → search}/index.js +0 -0
- /package/{dist/search → search}/lang/gr/encoder/index.js +0 -0
- /package/{dist/search → search}/lang/gr/encoder/package.json +0 -0
- /package/{dist/search → search}/lang/gr/encoder.d.ts +0 -0
- /package/{dist/search → search}/lang/gr/normalization-map/index.js +0 -0
- /package/{dist/search → search}/lang/gr/normalization-map/package.json +0 -0
- /package/{dist/search → search}/lang/gr/normalization-map.d.ts +0 -0
- /package/{dist/search → search}/package.json +0 -0
- /package/{dist/search → search}/search-index/index.js +0 -0
- /package/{dist/search → search}/search-index/package.json +0 -0
- /package/{dist/search → search}/search-index.d.ts +0 -0
- /package/{dist/search → search}/utils/index.js +0 -0
- /package/{dist/search → search}/utils/package.json +0 -0
- /package/{dist/search → search}/utils.d.ts +0 -0
- /package/{dist/src/test-utils → test-utils}/data.json +0 -0
- /package/{dist/types → types}/index.js +0 -0
- /package/{dist/types → types}/package.json +0 -0
- /package/{dist/types.d.ts → types.d.ts} +0 -0
package/text-search.publint.log
DELETED
|
@@ -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
|
|
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
|