react-instantsearch-core
7.25.07.26.0
package.json~
package.jsonModified+7−11
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "react-instantsearch-core",
- "version": "7.25.0",
+ "version": "7.26.0",
"description": "⚡ Lightning-fast search for React, by Algolia",
"types": "dist/es/index.d.ts",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
@@ -37,22 +37,18 @@
"dist"
],
"scripts": {
"clean": "rm -rf dist",
- "build": "yarn build:cjs && yarn build:es && yarn build:umd && yarn build:types",
- "build:cjs": "BABEL_ENV=cjs babel src --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/cjs --ignore '**/__tests__/**/*','**/__mocks__/**/*' --quiet && ../../scripts/prepare-cjs.sh",
- "build:es:base": "BABEL_ENV=es babel src --root-mode upward --extensions '.js,.ts,.tsx' --out-dir dist/es --ignore '**/__tests__/**/*','**/__mocks__/**/*'",
- "build:es": "yarn build:es:base --quiet",
- "build:umd": "BABEL_ENV=rollup rollup -c rollup.config.js",
+ "build": "BABEL_ENV=es,rollup BUILD_FORMAT=esm rollup -c rollup.config.mjs && BABEL_ENV=rollup BUILD_FORMAT=cjs rollup -c rollup.config.mjs && BABEL_ENV=rollup BUILD_FORMAT=umd rollup -c rollup.config.mjs && yarn build:types",
"build:types": "tsc -p ./tsconfig.declaration.json --outDir ./dist/es",
"test:exports": "node ./test/module/is-es-module.mjs && node ./test/module/is-cjs-module.cjs",
"version": "./scripts/version.cjs",
- "watch:es": "yarn --silent build:es:base --watch"
+ "watch:es": "BABEL_ENV=es,rollup BUILD_FORMAT=esm rollup -c rollup.config.mjs --watch"
},
"dependencies": {
- "@babel/runtime": "^7.27.6",
- "algoliasearch-helper": "3.27.1",
- "instantsearch.js": "4.89.0",
+ "@swc/helpers": "0.5.18",
+ "algoliasearch-helper": "3.28.0",
+ "instantsearch.js": "4.90.0",
"use-sync-external-store": "^1.0.0",
"zod": "^3.25.76 || ^4",
"zod-to-json-schema": "3.24.6"
},
@@ -63,6 +59,6 @@
"peerDependencies": {
"algoliasearch": ">= 3.1 < 6",
"react": ">= 16.8.0 < 20"
},
- "gitHead": "b1d19a647b42add5bbf0a5b70bd2705d3b6ca92e"
+ "gitHead": "47788afa47a402d506f94f72ec0836fb36085b57"
}