Skip to content

Commit

Permalink
Use modern-ahocorasick (#1197)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpittman authored Oct 12, 2023
1 parent af00b35 commit 1dbd56c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@
"dependencies": {
"@emotion/hash": "^0.9.0",
"@vanilla-extract/private": "^1.0.3",
"ahocorasick": "1.0.2",
"chalk": "^4.1.1",
"css-what": "^6.1.0",
"cssesc": "^3.0.0",
"csstype": "^3.0.7",
"deep-object-diff": "^1.1.9",
"deepmerge": "^4.2.2",
"media-query-parser": "^2.0.2",
"modern-ahocorasick": "^1.0.0",
"outdent": "^0.8.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/css/src/transformCss.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getVarName } from '@vanilla-extract/private';
import cssesc from 'cssesc';
import AhoCorasick from 'ahocorasick';
import AhoCorasick from 'modern-ahocorasick';

import type {
CSS,
Expand Down
13 changes: 7 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1dbd56c

Please sign in to comment.