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

emoji-picker-element

Package Overview
Dependencies
Maintainers
0
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emoji-picker-element - npm Package Compare versions

Comparing version 1.22.4 to 1.22.5

14

database.js

@@ -634,5 +634,13 @@ function assertNonEmptyString (str) {

//
const emojiToTokens = emoji => (
[...new Set((emoji.shortcodes || []).map(shortcode => extractTokens(shortcode)).flat())]
);
const emojiToTokens = emoji => {
const set = new Set();
if (emoji.shortcodes) {
for (const shortcode of emoji.shortcodes) {
for (const token of extractTokens(shortcode)) {
set.add(token);
}
}
}
return set
};
const searchTrie = trie(customEmojis, emojiToTokens);

@@ -639,0 +647,0 @@ const searchByExactMatch = _ => searchTrie(_, true);

{
"name": "emoji-picker-element",
"version": "1.22.4",
"version": "1.22.5",
"description": "Lightweight emoji picker distributed as a web component",

@@ -88,3 +88,3 @@ "main": "index.js",

"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/user-event": "^14.5.2",

@@ -106,4 +106,4 @@ "@vitest/coverage-istanbul": "^2.0.5",

"get-folder-size": "^5.0.0",
"husky": "^9.1.4",
"jsdom": "^24.1.1",
"husky": "^9.1.5",
"jsdom": "^25.0.0",
"lint-staged": "^15.2.9",

@@ -115,8 +115,8 @@ "lodash-es": "^4.17.21",

"npm-run-all": "^4.1.5",
"playwright": "^1.46.0",
"playwright": "^1.46.1",
"postcss": "^8.4.41",
"pretty-bytes": "^6.1.1",
"puppeteer": "^23.1.0",
"puppeteer": "^23.2.0",
"recursive-readdir": "^2.2.3",
"rollup": "^4.20.0",
"rollup": "^4.21.1",
"rollup-plugin-analyzer": "^4.0.0",

@@ -127,3 +127,3 @@ "sass": "^1.77.8",

"stylelint-config-recommended-scss": "^14.1.0",
"stylelint-scss": "^6.5.0",
"stylelint-scss": "^6.5.1",
"svgo": "^3.3.2",

@@ -148,2 +148,3 @@ "tachometer": "^0.7.1",

"customElements",
"CSS",
"CustomEvent",

@@ -156,2 +157,3 @@ "Event",

"IDBKeyRange",
"IntersectionObserver",
"Headers",

@@ -194,3 +196,3 @@ "HTMLElement",

},
"packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247"
"packageManager": "pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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