instantsearch.js 4.46.3 → 4.48.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 +28 -0
- package/cjs/connectors/hierarchical-menu/connectHierarchicalMenu.js +4 -1
- package/cjs/lib/InstantSearch.js +45 -6
- package/cjs/lib/utils/createSendEventForFacet.js +2 -1
- package/cjs/lib/utils/createSendEventForHits.js +1 -1
- package/cjs/lib/utils/index.js +13 -0
- package/cjs/lib/utils/render-args.js +47 -0
- package/cjs/lib/version.js +1 -1
- package/cjs/middlewares/createInsightsMiddleware.js +3 -5
- package/cjs/middlewares/createMetadataMiddleware.js +1 -15
- package/cjs/widgets/hierarchical-menu/defaultTemplates.js +3 -2
- package/cjs/widgets/hierarchical-menu/hierarchical-menu.js +4 -0
- package/cjs/widgets/index/index.js +7 -85
- package/dist/instantsearch.development.d.ts +34 -11
- package/dist/instantsearch.development.js +110 -115
- package/dist/instantsearch.development.js.map +1 -1
- package/dist/instantsearch.production.d.ts +34 -11
- package/dist/instantsearch.production.min.d.ts +34 -11
- package/dist/instantsearch.production.min.js +2 -2
- package/dist/instantsearch.production.min.js.map +1 -1
- package/es/connectors/hierarchical-menu/connectHierarchicalMenu.js +4 -1
- package/es/connectors/search-box/connectSearchBox.d.ts +1 -0
- package/es/lib/InstantSearch.d.ts +17 -4
- package/es/lib/InstantSearch.js +45 -6
- package/es/lib/utils/createSendEventForFacet.d.ts +4 -3
- package/es/lib/utils/createSendEventForFacet.js +2 -1
- package/es/lib/utils/createSendEventForHits.js +1 -1
- package/es/lib/utils/defer.d.ts +2 -2
- package/es/lib/utils/index.d.ts +1 -0
- package/es/lib/utils/index.js +1 -0
- package/es/lib/utils/render-args.d.ts +34 -0
- package/es/lib/utils/render-args.js +38 -0
- package/es/lib/version.d.ts +1 -1
- package/es/lib/version.js +1 -1
- package/es/middlewares/createInsightsMiddleware.d.ts +5 -5
- package/es/middlewares/createInsightsMiddleware.js +2 -2
- package/es/middlewares/createMetadataMiddleware.js +2 -16
- package/es/types/widget.d.ts +4 -0
- package/es/widgets/hierarchical-menu/defaultTemplates.js +3 -2
- package/es/widgets/hierarchical-menu/hierarchical-menu.d.ts +4 -0
- package/es/widgets/hierarchical-menu/hierarchical-menu.js +4 -0
- package/es/widgets/index/index.d.ts +1 -1
- package/es/widgets/index/index.js +8 -86
- package/package.json +7 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "instantsearch.js",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.48.0",
|
|
4
4
|
"description": "InstantSearch.js is a JavaScript library for building performant and instant search experiences with Algolia.",
|
|
5
5
|
"homepage": "https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/",
|
|
6
6
|
"types": "es/index.d.ts",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"test:e2e:local": "wdio scripts/wdio/local.conf.js",
|
|
43
43
|
"test:e2e:saucelabs": "wdio scripts/wdio/saucelabs.conf.js",
|
|
44
44
|
"test:size": "bundlesize",
|
|
45
|
-
"test:argos": "argos upload functional-tests/screenshots --token $ARGOS_TOKEN || true",
|
|
46
45
|
"test:exports": "node test/module/is-es-module.mjs",
|
|
47
46
|
"release": "shipjs prepare"
|
|
48
47
|
},
|
|
@@ -81,16 +80,16 @@
|
|
|
81
80
|
"@storybook/addon-actions": "5.3.9",
|
|
82
81
|
"@storybook/html": "5.3.9",
|
|
83
82
|
"@storybook/theming": "5.3.9",
|
|
84
|
-
"@testing-library/dom": "
|
|
85
|
-
"@testing-library/jest-dom": "
|
|
86
|
-
"@testing-library/preact": "
|
|
83
|
+
"@testing-library/dom": "8.18.1",
|
|
84
|
+
"@testing-library/jest-dom": "5.16.5",
|
|
85
|
+
"@testing-library/preact": "3.2.2",
|
|
87
86
|
"@types/classnames": "^2.2.7",
|
|
88
87
|
"@types/enzyme": "^3.1.15",
|
|
89
88
|
"@types/jest": "^27.0.1",
|
|
90
89
|
"@types/jsdom": "^16.2.13",
|
|
91
90
|
"@types/scriptjs": "^0.0.2",
|
|
92
91
|
"@types/storybook__addon-actions": "^3.4.2",
|
|
93
|
-
"@typescript-eslint/eslint-plugin": "
|
|
92
|
+
"@typescript-eslint/eslint-plugin": "5.38.1",
|
|
94
93
|
"@typescript-eslint/parser": "4.15.1",
|
|
95
94
|
"@wdio/cli": "5.16.9",
|
|
96
95
|
"@wdio/jasmine-framework": "5.16.5",
|
|
@@ -121,7 +120,7 @@
|
|
|
121
120
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
122
121
|
"eslint-plugin-import": "2.18.2",
|
|
123
122
|
"eslint-plugin-jasmine": "4.1.0",
|
|
124
|
-
"eslint-plugin-jest": "
|
|
123
|
+
"eslint-plugin-jest": "27.0.4",
|
|
125
124
|
"eslint-plugin-prettier": "3.4.0",
|
|
126
125
|
"eslint-plugin-react": "7.18.0",
|
|
127
126
|
"eslint-plugin-react-hooks": "2.3.0",
|
|
@@ -163,7 +162,7 @@
|
|
|
163
162
|
},
|
|
164
163
|
{
|
|
165
164
|
"path": "./dist/instantsearch.development.js",
|
|
166
|
-
"maxSize": "
|
|
165
|
+
"maxSize": "160 kB"
|
|
167
166
|
}
|
|
168
167
|
]
|
|
169
168
|
}
|