From c16b874a4c77d2248b16a882778b25ac42812d83 Mon Sep 17 00:00:00 2001 From: Remus Mate Date: Wed, 8 Nov 2023 14:48:08 +1100 Subject: [PATCH 1/2] remove stray ahocorasick.d.ts file --- packages/css/src/ahocorasick.d.ts | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 packages/css/src/ahocorasick.d.ts diff --git a/packages/css/src/ahocorasick.d.ts b/packages/css/src/ahocorasick.d.ts deleted file mode 100644 index 8e556eb77..000000000 --- a/packages/css/src/ahocorasick.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -declare module 'ahocorasick' { - export default class Ahocorasick { - constructor(searchTerms: Array); - - search(input: string): Array<[endIndex: number, matches: Array]>; - } -} From dff158b0b8787f0c594deb85da663c98142c00fb Mon Sep 17 00:00:00 2001 From: Remus Mate Date: Wed, 8 Nov 2023 15:30:49 +1100 Subject: [PATCH 2/2] add changeset --- .changeset/strange-terms-hang.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/strange-terms-hang.md diff --git a/.changeset/strange-terms-hang.md b/.changeset/strange-terms-hang.md new file mode 100644 index 000000000..e5eafb683 --- /dev/null +++ b/.changeset/strange-terms-hang.md @@ -0,0 +1,5 @@ +--- +'@vanilla-extract/css': patch +--- + +Replace dependency `ahocorasick` with `modern-ahocorasick`