Skip to content

Commit

Permalink
Remove @emotion/stylis references
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Jun 22, 2020
1 parent 85c014b commit a72ea43
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/css-prettifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"license": "MIT",
"dependencies": {
"@emotion/memoize": "0.7.4",
"@emotion/stylis": "0.8.5"
"stylis": "^4.0.0"
},
"devDependencies": {},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/css-prettifier/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import memoize from '@emotion/memoize'
import { compile, serialize, combine, tokenize } from '@emotion/stylis'
import { compile, serialize, combine, tokenize } from 'stylis'

// adjusted https://github.com/thysultan/stylis.js/blob/68b9043427c177b95a0fd6a2a13f5b636bf80236/src/Serializer.js#L26-L34
const prettyStringify = memoize(
Expand Down
4 changes: 2 additions & 2 deletions packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"dependencies": {
"@babel/runtime": "^7.7.2",
"@emotion/css-prettifier": "^1.0.0-next.0",
"@emotion/stylis": "0.8.5",
"@types/jest": "^25.2.1",
"chalk": "^2.4.1",
"specificity": "^0.4.1"
"specificity": "^0.4.1",
"stylis": "^4.0.0"
},
"peerDependencies": {
"enzyme-to-json": "^3.2.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/src/matchers.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow
import chalk from 'chalk'
import * as stylis from '@emotion/stylis'
import * as stylis from 'stylis'
import * as specificity from 'specificity'
import {
getClassNamesFromNodes,
Expand Down

0 comments on commit a72ea43

Please sign in to comment.