@yoch/frozenminisearch 1.1.0 → 1.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoch/frozenminisearch",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "description": "Read-only Node.js full-text search — compact frozen indexes and binary snapshots",
5
5
  "main": "dist/cjs/index.cjs",
6
6
  "module": "dist/es/index.js",
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "license": "MIT",
39
39
  "engines": {
40
- "node": ">=22.15.0"
40
+ "node": ">=20"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
@@ -101,6 +101,8 @@
101
101
  "scripts": {
102
102
  "test": "jest",
103
103
  "test-watch": "jest --watch",
104
+ "test:fuzzysearch": "jest --testMatch='<rootDir>/dev/internal/**/*.test.(ts|js)' --testPathIgnorePatterns=/node_modules/",
105
+ "test:benchmarks": "jest --testMatch='<rootDir>/benchmarks/**/*.test.(ts|js)' --testPathIgnorePatterns=/node_modules/",
104
106
  "coverage": "jest --coverage",
105
107
  "bench": "npm run build && node --expose-gc benchmarks/framework/cli.mjs",
106
108
  "bench:record": "npm run build && node --expose-gc benchmarks/framework/cli.mjs record",
@@ -143,8 +145,9 @@
143
145
  "clean-build": "rm -rf dist",
144
146
  "build-minified": "MINIFY=true npm run build",
145
147
  "sync-docs-media": "node scripts/sync-docs-media.cjs",
146
- "build-docs": "typedoc --options typedoc.json && npm run sync-docs-media && npm run build-demo",
147
- "build-demo": "mkdir -p ./docs/demo && cp -r ./examples/plain_js/. ./docs/demo",
148
+ "build-docs": "node scripts/build-docs.cjs",
149
+ "build-docs:pages": "DOCS_PAGES=1 node scripts/build-docs.cjs",
150
+ "build-demo": "rm -rf ./docs/demo && mkdir -p ./docs/demo && cp -rL ./examples/plain_js/. ./docs/demo",
148
151
  "lint": "eslint 'src/**/*.{js,ts}'",
149
152
  "lintfix": "eslint --fix 'src/**/*.{js,ts}'",
150
153
  "prepublishOnly": "npm test && npm run build && node scripts/verify-npm-pack.cjs",