csstype
Advanced tools
Comparing version 3.0.11 to 3.1.0
{ | ||
"name": "csstype", | ||
"version": "3.0.11", | ||
"version": "3.1.0", | ||
"main": "", | ||
@@ -13,28 +13,28 @@ "types": "index.d.ts", | ||
"@types/css-tree": "^1.0.7", | ||
"@types/jest": "^27.4.0", | ||
"@types/jest": "^27.5.1", | ||
"@types/jsdom": "^16.2.14", | ||
"@types/node": "^16.11.22", | ||
"@types/prettier": "^2.4.3", | ||
"@types/node": "^17.0.33", | ||
"@types/prettier": "^2.6.1", | ||
"@types/request": "^2.48.8", | ||
"@types/turndown": "^5.0.1", | ||
"@typescript-eslint/eslint-plugin": "^5.10.2", | ||
"@typescript-eslint/parser": "^5.10.2", | ||
"@typescript-eslint/eslint-plugin": "^5.23.0", | ||
"@typescript-eslint/parser": "^5.23.0", | ||
"chalk": "^4.1.2", | ||
"chokidar": "^3.5.3", | ||
"eslint": "^8.8.0", | ||
"css-tree": "^2.0.4", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint": "^8.15.0", | ||
"css-tree": "^2.1.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"fast-glob": "^3.2.11", | ||
"flow-bin": "^0.171.0", | ||
"jest": "^27.4.7", | ||
"flow-bin": "^0.178.0", | ||
"jest": "^28.1.0", | ||
"jsdom": "^19.0.0", | ||
"mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#92bf4cb8c5594edb314995e53a9cde79d5fb1b1e", | ||
"mdn-data": "git+https://github.com/mdn/data.git#cad93443ab28ee08b1ba490b13cf45eafd1f008d", | ||
"prettier": "^2.5.1", | ||
"mdn-browser-compat-data": "git+https://github.com/mdn/browser-compat-data.git#ca60283f0d680c08ad23e3c81f89225d5b016212", | ||
"mdn-data": "git+https://github.com/mdn/data.git#7ad63b7a52b16415e9a67af700a0006300b69b7b", | ||
"prettier": "^2.6.2", | ||
"request": "^2.88.2", | ||
"ts-jest": "^27.1.3", | ||
"ts-node": "^10.4.0", | ||
"ts-jest": "^28.0.2", | ||
"ts-node": "^10.7.0", | ||
"turndown": "^7.1.1", | ||
"typescript": "~4.5.5" | ||
"typescript": "~4.6.4" | ||
}, | ||
@@ -41,0 +41,0 @@ "scripts": { |
@@ -10,3 +10,3 @@ # CSSType | ||
```ts | ||
import * as CSS from 'csstype'; | ||
import type * as CSS from 'csstype'; | ||
@@ -125,3 +125,3 @@ const style: CSS.Properties = { | ||
```ts | ||
import * as CSS from 'csstype'; | ||
import type * as CSS from 'csstype'; | ||
@@ -137,3 +137,3 @@ const style: CSS.Properties = { | ||
```ts | ||
import * as CSS from 'csstype'; | ||
import type * as CSS from 'csstype'; | ||
@@ -149,3 +149,3 @@ const style: CSS.PropertiesFallback = { | ||
```ts | ||
import * as CSS from 'csstype'; | ||
import type * as CSS from 'csstype'; | ||
@@ -162,3 +162,3 @@ const pseudos: { [P in CSS.SimplePseudos]?: CSS.Properties } = { | ||
```ts | ||
import * as CSS from 'csstype'; | ||
import type * as CSS from 'csstype'; | ||
@@ -178,3 +178,3 @@ interface Style extends CSS.Properties, CSS.PropertiesHyphen {} | ||
```ts | ||
import * as CSS from 'csstype'; | ||
import type * as CSS from 'csstype'; | ||
@@ -209,3 +209,3 @@ const style: CSS.Properties = { | ||
// My css.d.ts file | ||
import * as CSS from 'csstype'; | ||
import type * as CSS from 'csstype'; | ||
@@ -212,0 +212,0 @@ declare module 'csstype' { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1199941
20189