@cn-npm/search-autocomplete 0.2.21 → 0.2.22

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.
Files changed (2) hide show
  1. package/dist/bundle.js +6 -1
  2. package/package.json +3 -3
package/dist/bundle.js CHANGED
@@ -52,7 +52,7 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
52
52
  PERFORMANCE OF THIS SOFTWARE.
53
53
  ***************************************************************************** */
54
54
 
55
- /* global Reflect, Promise */
55
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
56
56
  var extendStatics = function (d, b) {
57
57
  extendStatics = Object.setPrototypeOf || {
58
58
  __proto__: []
@@ -89,6 +89,11 @@ var __assign = function () {
89
89
  return __assign.apply(this, arguments);
90
90
  };
91
91
 
92
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
93
+ var e = new Error(message);
94
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
95
+ };
96
+
92
97
  function styleInject(css, ref) {
93
98
  if (ref === void 0) ref = {};
94
99
  var insertAt = ref.insertAt;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@cn-npm/search-autocomplete",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "main": "dist/bundle.js",
5
5
  "peerDependencies": {
6
- "@headlessui/react": "^1.7.1",
6
+ "@headlessui/react": "^2.2.10",
7
7
  "axios": "^1.6.5",
8
8
  "classnames": "^2.3.1",
9
9
  "react": "^18.2.0",
@@ -52,7 +52,7 @@
52
52
  ]
53
53
  },
54
54
  "devDependencies": {
55
- "@headlessui/react": "^1.7.1",
55
+ "@headlessui/react": "^2.2.10",
56
56
  "@rollup/plugin-commonjs": "^22.0.2",
57
57
  "@rollup/plugin-node-resolve": "^14.1.0",
58
58
  "@rollup/plugin-typescript": "^8.5.0",