
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
multi-select-speech
Advanced tools
MultiSelect is a select component that can lookup or match text as a user types. MultiSelect will search across multiple sources and show matches in a dropdown list. It is intended to be an alternative to having multiple select components, and supports and/or opertions and multiple comparison types.
Visit the Demo page
yarn add multi-select
or
npm i multi-select
const dataSource: DataSource[] = [
{
name: 'list',
title: 'list of strings',
comparisons: defaultComparison,
precedence: 1,
source: ['asdas', 'assda', 'loadsp'],
},
{
name: 'promise',
title: 'Promise list',
comparisons: defaultComparison,
precedence: 3,
source: async (text) => {
return new Promise((resolve) => {
setTimeout(
() =>
resolve(
['delayed', 'aploked', 'loadsp'].filter((item) =>
item.includes(text),
),
),
250,
)
})
},
},
{
name: 'function',
title: 'Functions',
comparisons: numberComparisons,
match: (text: string) => !isNaN(Number(text)),
value: (text: string) => Number.parseInt(text),
},
{
name: 'regex',
title: 'Regular Expression',
comparisons: stringComparisons,
precedence: 2,
match: /^[a-zA-Z]{2,}$/,
value: (text: string) => text,
},
]
const App = () => {
const [matchers, setMatchers] = React.useState<Matcher[]>()
return (
<>
<h2>MutliSelect</h2>
<MutliSelect
matchers={matchers}
dataSources={dataSource}
onMatchersChanged={setMatchers}
/>
)
}
There are two types of dataSource a lookup source that can be either a list or a promise, and a match datasource that can be either a function or a regex.
source: SourceItem[] | ((text: string) => Promise<SourceItem[]>)
textGetter?: (item: object) => string
valueGetter?: (item: object) => Value
ignoreCase?: boolean
itemLimit?: number
searchStartLength?: number
match: RegExp | ((text: string) => boolean) | RegExp[] | ((text: string) => boolean)[]
value: (text: string) => Value
and the compairsons on both sides must be true
or the comparisons on either side can be true
Comparisons can be configured as can the symbol for and/or
( open bracket
) close bracket
The following components can be styled
{
optionsList?: React.CSSProperties
option?: React.CSSProperties
optionCategory?: React.CSSProperties
matcherView?: React.CSSProperties
matcherViewSelected?: React.CSSProperties
matcherToolTip?: React.CSSProperties
matcherEdit?: React.CSSProperties
input?: React.CSSProperties
mutliSelect?: React.CSSProperties
errorMessage?: React.CSSProperties
}
FAQs
Multi select speech control
We found that multi-select-speech demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.