styled-components 6.0.0-beta.11 → 6.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "styled-components",
3
- "version": "6.0.0-beta.11",
3
+ "version": "6.0.0-beta.12",
4
4
  "description": "Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/styled-components.cjs.js",
@@ -10,9 +10,18 @@
10
10
  "./dist/styled-components.esm.js": "./dist/styled-components.browser.esm.js",
11
11
  "./dist/styled-components.cjs.js": "./dist/styled-components.browser.cjs.js"
12
12
  },
13
- "sideEffects": [
14
- "./src/base.js"
15
- ],
13
+ "sideEffects": false,
14
+ "exports": {
15
+ "types": "./dist/index.d.ts",
16
+ "node": {
17
+ "require": "./dist/styled-components.cjs.js",
18
+ "import": "./dist/styled-components.esm.js",
19
+ "default": "./dist/styled-components.cjs.js"
20
+ },
21
+ "require": "./dist/styled-components.browser.cjs.js",
22
+ "import": "./dist/styled-components.browser.esm.js",
23
+ "default": "./dist/styled-components.browser.cjs.js"
24
+ },
16
25
  "scripts": {
17
26
  "generateErrors": "node scripts/generateErrorMap.js",
18
27
  "prebuild": "rimraf dist && yarn generateErrors",
@@ -32,10 +41,8 @@
32
41
  "url": "git+https://github.com/styled-components/styled-components.git"
33
42
  },
34
43
  "files": [
35
- "CHANGELOG.md",
36
- "CODE_OF_CONDUCT.md",
37
- "CONTRIBUTING.md",
38
44
  "LICENSE",
45
+ "README.md",
39
46
  "dist",
40
47
  "native",
41
48
  "test-utils",
@@ -57,21 +64,21 @@
57
64
  },
58
65
  "homepage": "https://styled-components.com",
59
66
  "dependencies": {
60
- "@babel/cli": "^7.20.7",
61
- "@babel/core": "^7.20.7",
67
+ "@babel/cli": "^7.21.0",
68
+ "@babel/core": "^7.21.0",
62
69
  "@babel/helper-module-imports": "^7.18.6",
63
70
  "@babel/plugin-external-helpers": "^7.18.6",
64
71
  "@babel/plugin-proposal-class-properties": "^7.18.6",
65
72
  "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
66
73
  "@babel/preset-env": "^7.20.2",
67
74
  "@babel/preset-react": "^7.18.6",
68
- "@babel/preset-typescript": "^7.18.6",
69
- "@babel/traverse": "^7.20.10",
75
+ "@babel/preset-typescript": "^7.21.0",
76
+ "@babel/traverse": "^7.21.2",
70
77
  "@emotion/unitless": "^0.8.0",
71
- "css-to-react-native": "^3.0.0",
78
+ "css-to-react-native": "^3.2.0",
72
79
  "shallowequal": "^1.1.0",
73
80
  "stylis": "^4.1.3",
74
- "tslib": "^2.4.1"
81
+ "tslib": "^2.5.0"
75
82
  },
76
83
  "peerDependencies": {
77
84
  "babel-plugin-styled-components": ">= 2",
@@ -96,13 +103,13 @@
96
103
  }
97
104
  },
98
105
  "devDependencies": {
99
- "@babel/plugin-transform-flow-strip-types": "^7.19.0",
100
- "@rollup/plugin-typescript": "^10.0.1",
106
+ "@babel/plugin-transform-flow-strip-types": "^7.21.0",
107
+ "@rollup/plugin-typescript": "^11.0.0",
101
108
  "@types/babel-plugin-macros": "^2.8.4",
102
109
  "@types/enzyme": "^3.10.12",
103
- "@types/jest": "^29.2.4",
110
+ "@types/jest": "^29.4.0",
104
111
  "@types/js-beautify": "^1.13.1",
105
- "@types/node": "^18.11.17",
112
+ "@types/node": "^18.14.2",
106
113
  "@types/react": "^17.0.22",
107
114
  "@types/react-dom": "^17.0.9",
108
115
  "@types/react-frame-component": "^4.1.3",
@@ -110,25 +117,25 @@
110
117
  "@types/react-test-renderer": "^17.0.1",
111
118
  "@types/shallowequal": "^1.1.1",
112
119
  "@types/stylis": "^4.0.2",
113
- "babel-jest": "^29.3.1",
120
+ "babel-jest": "^29.4.3",
114
121
  "babel-plugin-add-module-exports": "^1.0.4",
115
122
  "babel-plugin-macros": "^3.1.0",
116
123
  "babel-plugin-styled-components": "^2.0.7",
117
124
  "babel-plugin-tester": "^10.0.0",
118
125
  "bundlewatch": "^0.3.3",
119
- "jest": "^29.3.1",
120
- "jest-environment-jsdom": "^29.3.1",
126
+ "jest": "^29.4.3",
127
+ "jest-environment-jsdom": "^29.4.3",
121
128
  "jest-serializer-html": "^7.0.0",
122
- "jest-watch-typeahead": "^2.0.0",
129
+ "jest-watch-typeahead": "^2.2.2",
123
130
  "js-beautify": "^1.14.7",
124
- "prettier": "^2.8.1",
131
+ "prettier": "^2.8.4",
125
132
  "prop-types": "^15.8.1",
126
133
  "react": "^17.0.2",
127
134
  "react-dom": "^17.0.2",
128
135
  "react-frame-component": "^4.0.2",
129
136
  "react-native": "^0.70.6",
130
137
  "react-test-renderer": "^17.0.2",
131
- "rollup": "^3.0.0",
138
+ "rollup": "^3.18.0",
132
139
  "rollup-plugin-commonjs": "^10.1.0",
133
140
  "rollup-plugin-json": "^4.0.0",
134
141
  "rollup-plugin-node-resolve": "^5.2.0",
@@ -136,7 +143,7 @@
136
143
  "rollup-plugin-sourcemaps": "^0.6.3",
137
144
  "rollup-plugin-terser": "^7.0.2",
138
145
  "stylis-plugin-rtl": "^2.1.1",
139
- "typescript": "^4.8.4",
146
+ "typescript": "^4.9.5",
140
147
  "utility-types": "^3.10.0"
141
148
  },
142
149
  "bundlewatch": {