diff --git a/.changeset/spotty-cars-camp.md b/.changeset/spotty-cars-camp.md new file mode 100644 index 000000000..b6ab56cc8 --- /dev/null +++ b/.changeset/spotty-cars-camp.md @@ -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. diff --git a/packages/serialize/package.json b/packages/serialize/package.json index 598627ffa..8f068cfa2 100644 --- a/packages/serialize/package.json +++ b/packages/serialize/package.json @@ -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" diff --git a/packages/serialize/types/tslint.json b/packages/serialize/types/tslint.json index 4ffac3c17..b2802853b 100644 --- a/packages/serialize/types/tslint.json +++ b/packages/serialize/types/tslint.json @@ -1,12 +1,9 @@ { - "extends": "dtslint/dtslint.json", - "rules": { - "array-type": [ - true, - "generic" - ], - "semicolon": false, - "no-null-undefined-union": false, - "callable-types": false - } -} \ No newline at end of file + "extends": "dtslint/dtslint.json", + "rules": { + "array-type": [true, "generic"], + "semicolon": false, + "no-null-undefined-union": false, + "callable-types": false + } +} diff --git a/yarn.lock b/yarn.lock index fe2608a21..3332b8580 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"