Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homebirdscomponents

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebirdscomponents - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

dist/homebirdscomponents/p-ee11a763.entry.js

4

dist/cjs/ba-search-input.cjs.entry.js

@@ -1820,3 +1820,3 @@ 'use strict';

}
if (this.suggestions.length && this.fuse && this.searchTerms.trim().length > 2) {
if (this.suggestions.length && this.fuse && (this.searchTerms.trim().length === 3 || (this.searchTerms.trim().length > 3 && this.searchTerms.trim().length % 2 === 0))) {
this.performSearch.call(this);

@@ -1826,3 +1826,3 @@ }

performSearch() {
this.results = this.fuse.search(this.searchTerms);
this.results = this.fuse.search(this.searchTerms.trim());
this.results.splice(this.maxResultsShown);

@@ -1829,0 +1829,0 @@ if (this.results.length) {

@@ -45,3 +45,3 @@ import { Component, Prop, h, Element, Event, State, Watch, Listen } from '@stencil/core';

}
if (this.suggestions.length && this.fuse && this.searchTerms.trim().length > 2) {
if (this.suggestions.length && this.fuse && (this.searchTerms.trim().length === 3 || (this.searchTerms.trim().length > 3 && this.searchTerms.trim().length % 2 === 0))) {
this.performSearch.call(this);

@@ -51,3 +51,3 @@ }

performSearch() {
this.results = this.fuse.search(this.searchTerms);
this.results = this.fuse.search(this.searchTerms.trim());
this.results.splice(this.maxResultsShown);

@@ -54,0 +54,0 @@ if (this.results.length) {

@@ -1963,3 +1963,3 @@ import { attachShadow, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';

}
if (this.suggestions.length && this.fuse && this.searchTerms.trim().length > 2) {
if (this.suggestions.length && this.fuse && (this.searchTerms.trim().length === 3 || (this.searchTerms.trim().length > 3 && this.searchTerms.trim().length % 2 === 0))) {
this.performSearch.call(this);

@@ -1969,3 +1969,3 @@ }

performSearch() {
this.results = this.fuse.search(this.searchTerms);
this.results = this.fuse.search(this.searchTerms.trim());
this.results.splice(this.maxResultsShown);

@@ -1972,0 +1972,0 @@ if (this.results.length) {

@@ -1816,3 +1816,3 @@ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-ab3cece5.js';

}
if (this.suggestions.length && this.fuse && this.searchTerms.trim().length > 2) {
if (this.suggestions.length && this.fuse && (this.searchTerms.trim().length === 3 || (this.searchTerms.trim().length > 3 && this.searchTerms.trim().length % 2 === 0))) {
this.performSearch.call(this);

@@ -1822,3 +1822,3 @@ }

performSearch() {
this.results = this.fuse.search(this.searchTerms);
this.results = this.fuse.search(this.searchTerms.trim());
this.results.splice(this.maxResultsShown);

@@ -1825,0 +1825,0 @@ if (this.results.length) {

@@ -1,1 +0,1 @@

import{p as e,b as a}from"./p-6e605cc7.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then(e=>a([["p-8db36953",[[1,"ba-google-map",{apiKey:[1,"api-key"],centerLat:[2,"map-center-lat"],centerLon:[2,"map-center-lon"],zoom:[2,"map-zoom"],mapPins:[16],height:[1,"map-height"],disableControls:[4,"map-disable-controls"],google:[32],map:[32],markers:[32]}]]],["p-4b4c96bb",[[1,"ba-search-input",{value:[1025],suggestions:[16],placeholder:[1],maxResultsShown:[2,"max-results"],searchTerms:[32],fuse:[32],results:[32],suggestionsPaneOpen:[32]},[[0,"blur","handleElementBlur"]]]]],["p-ba85ba80",[[1,"ba-text-input-one",{type:[513],placeholder:[513],value:[1537]}]]]],e));
import{p as e,b as a}from"./p-6e605cc7.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then(e=>a([["p-8db36953",[[1,"ba-google-map",{apiKey:[1,"api-key"],centerLat:[2,"map-center-lat"],centerLon:[2,"map-center-lon"],zoom:[2,"map-zoom"],mapPins:[16],height:[1,"map-height"],disableControls:[4,"map-disable-controls"],google:[32],map:[32],markers:[32]}]]],["p-ee11a763",[[1,"ba-search-input",{value:[1025],suggestions:[16],placeholder:[1],maxResultsShown:[2,"max-results"],searchTerms:[32],fuse:[32],results:[32],suggestionsPaneOpen:[32]},[[0,"blur","handleElementBlur"]]]]],["p-ba85ba80",[[1,"ba-text-input-one",{type:[513],placeholder:[513],value:[1537]}]]]],e));
{
"name": "homebirdscomponents",
"version": "0.0.13",
"version": "0.0.14",
"description": "Stencil Component Starter",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc