@yoch/frozenminisearch 1.2.4 → 1.3.0
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 +26 -0
- package/README.md +30 -17
- package/dist/browser/index.d.ts +693 -0
- package/dist/browser/index.js +1 -0
- package/dist/cjs/index.cjs +3556 -3517
- package/dist/es/index.d.ts +61 -42
- package/dist/es/index.js +3556 -3517
- package/package.json +10 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoch/frozenminisearch",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Read-only
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"description": "Read-only full-text search — compact frozen indexes and binary snapshots (Node.js and browser)",
|
|
5
5
|
"main": "dist/cjs/index.cjs",
|
|
6
6
|
"module": "dist/es/index.js",
|
|
7
7
|
"type": "module",
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
"require": "./dist/cjs/index.require.cjs",
|
|
12
12
|
"import": "./dist/es/index.js",
|
|
13
13
|
"default": "./dist/es/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./browser": {
|
|
16
|
+
"types": "./dist/browser/index.d.ts",
|
|
17
|
+
"default": "./dist/browser/index.js"
|
|
14
18
|
}
|
|
15
19
|
},
|
|
16
20
|
"types": "./dist/es/index.d.ts",
|
|
@@ -33,7 +37,8 @@
|
|
|
33
37
|
"index",
|
|
34
38
|
"frozen",
|
|
35
39
|
"binary",
|
|
36
|
-
"node"
|
|
40
|
+
"node",
|
|
41
|
+
"browser"
|
|
37
42
|
],
|
|
38
43
|
"license": "MIT",
|
|
39
44
|
"engines": {
|
|
@@ -43,6 +48,7 @@
|
|
|
43
48
|
"access": "public"
|
|
44
49
|
},
|
|
45
50
|
"devDependencies": {
|
|
51
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
46
52
|
"@rollup/plugin-terser": "^1.0.0",
|
|
47
53
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
48
54
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
@@ -100,6 +106,7 @@
|
|
|
100
106
|
},
|
|
101
107
|
"scripts": {
|
|
102
108
|
"test": "jest",
|
|
109
|
+
"test:browser": "node scripts/assert-browser-bundle.cjs && jest --testMatch='<rootDir>/dev/browser/**/*.test.js' --runInBand",
|
|
103
110
|
"test-watch": "jest --watch",
|
|
104
111
|
"test:fuzzysearch": "jest --testMatch='<rootDir>/dev/internal/**/*.test.(ts|js)' --testPathIgnorePatterns=/node_modules/",
|
|
105
112
|
"test:benchmarks": "jest --testMatch='<rootDir>/benchmarks/**/*.test.(ts|js)' --testPathIgnorePatterns=/node_modules/",
|