Skip to content

Commit 57322cc

Browse files
committed
update deps
1 parent bcfc50c commit 57322cc

File tree

7 files changed

+1575
-1421
lines changed

7 files changed

+1575
-1421
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@
1515
],
1616
"license": "MIT",
1717
"devDependencies": {
18-
"@babel/cli": "^7.0.0",
19-
"@babel/core": "^7.0.0",
20-
"@babel/plugin-proposal-class-properties": "^7.0.0",
21-
"@babel/preset-env": "^7.0.0",
18+
"@babel/cli": "^7.4.4",
19+
"@babel/core": "^7.4.5",
20+
"@babel/plugin-proposal-class-properties": "^7.4.4",
21+
"@babel/preset-env": "^7.4.5",
2222
"babel-core": "7.0.0-bridge.0",
2323
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
24-
"babel-test": "^0.1.2",
25-
"jest": "^23.6.0",
26-
"jest-file-snapshot": "^0.3.2",
27-
"prettier": "^1.14.2",
28-
"rimraf": "^2.6.2",
29-
"styled-components": "^4.0.0"
24+
"babel-test": "^0.2.1",
25+
"jest": "^24.8.0",
26+
"jest-file-snapshot": "^0.3.6",
27+
"prettier": "^1.18.2",
28+
"rimraf": "^2.6.3",
29+
"styled-components": "^4.3.1"
3030
},
3131
"dependencies": {
3232
"@babel/helper-annotate-as-pure": "^7.0.0",
3333
"@babel/helper-module-imports": "^7.0.0",
3434
"babel-plugin-syntax-jsx": "^6.18.0",
35-
"lodash": "^4.17.10"
35+
"lodash": "^4.17.11"
3636
},
3737
"resolutions": {
3838
"babel-core": "7.0.0-bridge.0"

test/fixtures/minify-css-to-use-with-transpilation/output.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
var _styledComponents = _interopRequireDefault(require("styled-components"));
44

5-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
66

77
function _templateObject5() {
88
var data = _taggedTemplateLiteral(["&:hover{color:blue;}"]);
@@ -56,16 +56,16 @@ function _templateObject() {
5656

5757
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
5858

59-
var Simple = _styledComponents.default.div(_templateObject());
59+
var Simple = _styledComponents["default"].div(_templateObject());
6060

61-
var Interpolation = _styledComponents.default.div(_templateObject2(), function (props) {
61+
var Interpolation = _styledComponents["default"].div(_templateObject2(), function (props) {
6262
return props.text;
6363
});
6464

65-
var SpecialCharacters = _styledComponents.default.div(_templateObject3(), function (props) {
65+
var SpecialCharacters = _styledComponents["default"].div(_templateObject3(), function (props) {
6666
return props.text;
6767
});
6868

69-
var Comment = _styledComponents.default.div(_templateObject4());
69+
var Comment = _styledComponents["default"].div(_templateObject4());
7070

71-
var Parens = _styledComponents.default.div(_templateObject5());
71+
var Parens = _styledComponents["default"].div(_templateObject5());

test/fixtures/transpile-css-prop-add-import/output.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
1515
Object.defineProperty(exports, "__esModule", {
1616
value: true
1717
});
18-
exports.default = void 0;
18+
exports["default"] = void 0;
1919

2020
var _styledComponents = _interopRequireDefault(require("styled-components"));
2121

@@ -25,22 +25,22 @@ var _Card = _interopRequireDefault(require("../../shared/components/Card"));
2525

2626
var _config = _interopRequireDefault(require("../../../config"));
2727

28-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
28+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
2929

3030
// @flow
3131
var _default = function _default() {
3232
return <_StyledDiv>
3333
<_Card.default>
3434
<h1>Login or Sign Up</h1>
3535
<p>
36-
<a href={_config.default.API_URI + '/auth/google'}>
36+
<a href={_config["default"].API_URI + '/auth/google'}>
3737
Sign up or login with Google
3838
</a>
3939
</p>
4040
</_Card.default>
4141
</_StyledDiv>;
4242
};
4343

44-
exports.default = _default;
44+
exports["default"] = _default;
4545

46-
var _StyledDiv = (0, _styledComponents.default)("div")(_templateObject());
46+
var _StyledDiv = (0, _styledComponents["default"])("div")(_templateObject());

test/fixtures/transpile-css-prop/output.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function _templateObject4() {
142142

143143
var _styledComponents = _interopRequireDefault(require("styled-components"));
144144

145-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
145+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
146146

147147
function _templateObject3() {
148148
var data = _taggedTemplateLiteral(["\n color: ", ";\n "]);
@@ -257,42 +257,42 @@ var NestedCompWithDot = function NestedCompWithDot(p) {
257257
return <_StyledButtonGhostNew>H</_StyledButtonGhostNew>;
258258
};
259259

260-
var _StyledP = (0, _styledComponents.default)("p")(_templateObject4());
260+
var _StyledP = (0, _styledComponents["default"])("p")(_templateObject4());
261261

262-
var _StyledP2 = (0, _styledComponents.default)("p")(_templateObject5());
262+
var _StyledP2 = (0, _styledComponents["default"])("p")(_templateObject5());
263263

264-
var _StyledP3 = (0, _styledComponents.default)("p")(_templateObject6(), function (p) {
264+
var _StyledP3 = (0, _styledComponents["default"])("p")(_templateObject6(), function (p) {
265265
return p._css;
266266
});
267267

268-
var _StyledP4 = (0, _styledComponents.default)("p")(_templateObject7());
268+
var _StyledP4 = (0, _styledComponents["default"])("p")(_templateObject7());
269269

270-
var _StyledP5 = (0, _styledComponents.default)("p")(_templateObject8());
270+
var _StyledP5 = (0, _styledComponents["default"])("p")(_templateObject8());
271271

272-
var _StyledParagraph = (0, _styledComponents.default)(Paragraph)(_templateObject9());
272+
var _StyledParagraph = (0, _styledComponents["default"])(Paragraph)(_templateObject9());
273273

274-
var _StyledP6 = (0, _styledComponents.default)("p")(_templateObject10(), function (p) {
274+
var _StyledP6 = (0, _styledComponents["default"])("p")(_templateObject10(), function (p) {
275275
return p._css2;
276276
});
277277

278-
var _StyledP7 = (0, _styledComponents.default)("p")(_templateObject11(), function (p) {
278+
var _StyledP7 = (0, _styledComponents["default"])("p")(_templateObject11(), function (p) {
279279
return p._css3;
280280
});
281281

282-
var _StyledP8 = (0, _styledComponents.default)("p")(_templateObject12(), function (props) {
282+
var _StyledP8 = (0, _styledComponents["default"])("p")(_templateObject12(), function (props) {
283283
return props.theme.a;
284284
});
285285

286-
var _StyledP9 = (0, _styledComponents.default)("p")(_templateObject13(), radius);
286+
var _StyledP9 = (0, _styledComponents["default"])("p")(_templateObject13(), radius);
287287

288-
var _StyledP10 = (0, _styledComponents.default)("p")(_templateObject14(), function (p) {
288+
var _StyledP10 = (0, _styledComponents["default"])("p")(_templateObject14(), function (p) {
289289
return p._css4;
290290
});
291291

292-
var _StyledP11 = (0, _styledComponents.default)("p")(_templateObject15(), function (props) {
292+
var _StyledP11 = (0, _styledComponents["default"])("p")(_templateObject15(), function (props) {
293293
return props.theme.color;
294294
});
295295

296-
var _StyledButtonGhost = (0, _styledComponents.default)(Button.Ghost)(_templateObject16());
296+
var _StyledButtonGhost = (0, _styledComponents["default"])(Button.Ghost)(_templateObject16());
297297

298-
var _StyledButtonGhostNew = (0, _styledComponents.default)(Button.Ghost.New)(_templateObject17());
298+
var _StyledButtonGhostNew = (0, _styledComponents["default"])(Button.Ghost.New)(_templateObject17());

test/fixtures/transpile-template-literals-with-config/output.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
var _styledComponents = _interopRequireDefault(require("styled-components"));
44

5-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
66

7-
var Named = _styledComponents.default.div.withConfig({
7+
var Named = _styledComponents["default"].div.withConfig({
88
displayName: "code__Named"
99
})(["\n width: 100%;\n"]);
1010

11-
var NamedWithInterpolation = _styledComponents.default.div.withConfig({
11+
var NamedWithInterpolation = _styledComponents["default"].div.withConfig({
1212
displayName: "code__NamedWithInterpolation"
1313
})(["\n color: ", ";\n"], function (color) {
1414
return props.color;
1515
});
1616

17-
var Wrapped = (0, _styledComponents.default)(Inner).withConfig({
17+
var Wrapped = (0, _styledComponents["default"])(Inner).withConfig({
1818
displayName: "code__Wrapped"
1919
})(["\n color: red;\n"]);
2020

21-
var Foo = _styledComponents.default.div.withConfig({
21+
var Foo = _styledComponents["default"].div.withConfig({
2222
displayName: "code__Foo"
2323
})({
2424
color: 'green'

test/fixtures/transpile-template-literals-without-config/output.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
var _styledComponents = _interopRequireDefault(require("styled-components"));
44

5-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
66

7-
var Named = _styledComponents.default.div(["\n width: 100%;\n"]);
7+
var Named = _styledComponents["default"].div(["\n width: 100%;\n"]);
88

9-
var NamedWithInterpolation = _styledComponents.default.div(["\n color: ", ";\n"], function (color) {
9+
var NamedWithInterpolation = _styledComponents["default"].div(["\n color: ", ";\n"], function (color) {
1010
return props.color;
1111
});
1212

13-
var Wrapped = (0, _styledComponents.default)(Inner)(["color: red;"]);
13+
var Wrapped = (0, _styledComponents["default"])(Inner)(["color: red;"]);

0 commit comments

Comments
 (0)