Skip to content

Commit

Permalink
Upgrade csstype dependency (#1956)
Browse files Browse the repository at this point in the history
* Remove grayscale filter from the docs (#1929)

* Add emotion-native-extended to the ecosystem list of packages (#1849)

* Make links more accessible in the docs (#1930)

* run test:typescript for emotion/serialize in CI

* fix emotion/serialize type tests

* Bump csstype to 3.0.2

* Add changeset

* Update .circleci/config.yml

* Tweak changeset

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Co-authored-by: Wendell Misiedjan <wmisiedj@student.codam.nl>
  • Loading branch information
3 people committed Aug 9, 2020
1 parent ce3ae19 commit 5d692a6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
8 changes: 8 additions & 0 deletions .changeset/spotty-cars-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@emotion/core': minor
'@emotion/css': minor
'@emotion/serialize': minor
'@emotion/styled': minor
---

Upgraded [`csstype`](https://www.npmjs.com/package/csstype) dependency to its v3. This is what we use to provide TypeScript typings for object styles. The upgrade should not affect any consuming code but it's worth mentioning if any edge case scenarios arise.
2 changes: 1 addition & 1 deletion packages/serialize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@emotion/memoize": "0.7.4",
"@emotion/unitless": "0.7.5",
"@emotion/utils": "1.0.0-next.0",
"csstype": "^2.6.7"
"csstype": "^3.0.2"
},
"devDependencies": {
"dtslint": "^0.3.0"
Expand Down
19 changes: 8 additions & 11 deletions packages/serialize/types/tslint.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"extends": "dtslint/dtslint.json",
"rules": {
"array-type": [
true,
"generic"
],
"semicolon": false,
"no-null-undefined-union": false,
"callable-types": false
}
}
"extends": "dtslint/dtslint.json",
"rules": {
"array-type": [true, "generic"],
"semicolon": false,
"no-null-undefined-union": false,
"callable-types": false
}
}
7 changes: 6 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7287,11 +7287,16 @@ cssstyle@^2.0.0, cssstyle@^2.2.0:
dependencies:
cssom "~0.3.6"

csstype@^2.2.0, csstype@^2.5.7, csstype@^2.6.7:
csstype@^2.2.0, csstype@^2.5.7:
version "2.6.10"
resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.10.tgz#e63af50e66d7c266edb6b32909cfd0aabe03928b"
integrity sha512-D34BqZU4cIlMCY93rZHbrq9pjTAQJ3U8S8rfBqjwHxkGPThWFjzZDQpgMJY0QViLxth6ZKYiwFBo14RdN44U/w==

csstype@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.2.tgz#ee5ff8f208c8cd613b389f7b222c9801ca62b3f7"
integrity sha512-ofovWglpqoqbfLNOTBNZLSbMuGrblAf1efvvArGKOZMBrIoJeu5UsAipQolkijtyQx5MtAzT/J9IHj/CEY1mJw==

csv-generate@^3.2.0:
version "3.2.3"
resolved "https://registry.npmjs.org/csv-generate/-/csv-generate-3.2.3.tgz#24004f21de61c2ea1c4474d3e65a18261f638a80"
Expand Down

0 comments on commit 5d692a6

Please sign in to comment.