Skip to content

Commit a617e6f

Browse files
committed
4.0.0
1 parent 0d56845 commit a617e6f

File tree

5 files changed

+399
-347
lines changed

5 files changed

+399
-347
lines changed

.babelrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"presets": [
3+
"react",
4+
"latest"
5+
],
6+
"plugins": [
7+
"transform-runtime"
8+
]
9+
}

.eslintrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parser": "babel-eslint",
3+
"extends": "airbnb",
4+
"env": {
5+
"browser": true
6+
},
7+
"rules": {
8+
"import/no-extraneous-dependencies": "off",
9+
"jsx-a11y/href-no-hash": "off",
10+
"no-continue": "off",
11+
"no-plusplus": "off",
12+
"react/jsx-filename-extension": "off"
13+
}
14+
}

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [v4.0.0] - 2017-08-14
6+
7+
- Bump hoist-non-react-statics and babel-runtime
8+
- Remove Babel and ESLint sections from package.json
9+
- Add a safety check on `componentWillUnmount` of `withStyles` to only `setTimeout` if `this.removeCss` is defined ([#104](https://github.com/kriasoft/isomorphic-style-loader/pull/104))
10+
- Call the insertCss with the spread operator ([#101](https://github.com/kriasoft/isomorphic-style-loader/pull/101))
11+
512
## [v3.0.0] - 2017-07-07
613

714
- Bump hoist-non-react-statics ([#97](https://github.com/kriasoft/isomorphic-style-loader/pull/97))
@@ -31,7 +38,8 @@ All notable changes to this project will be documented in this file.
3138

3239
- Fix style not getting removed for multiple instance ([#23](https://github.com/kriasoft/isomorphic-style-loader/pull/23))
3340

34-
[unreleased]: https://github.com/kriasoft/isomorphic-style-loader/compare/v3.0.0...HEAD
41+
[unreleased]: https://github.com/kriasoft/isomorphic-style-loader/compare/v4.0.0...HEAD
42+
[v4.0.0]: https://github.com/kriasoft/isomorphic-style-loader/compare/v3.0.0...v4.0.0
3543
[v3.0.0]: https://github.com/kriasoft/isomorphic-style-loader/compare/v2.0.0...v3.0.0
3644
[v2.0.0]: https://github.com/kriasoft/isomorphic-style-loader/compare/v1.1.0...v2.0.0
3745
[v1.1.0]: https://github.com/kriasoft/isomorphic-style-loader/compare/v1.0.0...v1.1.0

package.json

Lines changed: 10 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "isomorphic-style-loader",
3-
"version": "3.0.0",
3+
"version": "4.0.0",
44
"description": "CSS style loader for Webpack optimized for critical path CSS rendering and isomoprhic web apps",
55
"repository": "kriasoft/isomorphic-style-loader",
66
"author": "Kriasoft <[email protected]> (https://www.kriasoft.com)",
@@ -33,31 +33,9 @@
3333
"files": [
3434
"lib"
3535
],
36-
"babel": {
37-
"presets": [
38-
"react",
39-
"latest"
40-
],
41-
"plugins": [
42-
"transform-runtime"
43-
]
44-
},
45-
"eslintConfig": {
46-
"parser": "babel-eslint",
47-
"extends": "airbnb",
48-
"env": {
49-
"browser": true
50-
},
51-
"rules": {
52-
"import/no-extraneous-dependencies": "off",
53-
"no-continue": "off",
54-
"no-plusplus": "off",
55-
"react/jsx-filename-extension": "off"
56-
}
57-
},
5836
"dependencies": {
59-
"babel-runtime": "^6.23.0",
60-
"hoist-non-react-statics": "^2.0.0",
37+
"babel-runtime": "^6.25.0",
38+
"hoist-non-react-statics": "^2.2.2",
6139
"loader-utils": "^1.1.0",
6240
"prop-types": "^15.5.10"
6341
},
@@ -69,27 +47,27 @@
6947
"babel-preset-latest": "^6.24.1",
7048
"babel-preset-react": "^6.24.1",
7149
"babel-register": "^6.24.1",
72-
"chai": "^4.0.2",
50+
"chai": "^4.1.1",
7351
"coveralls": "^2.13.1",
7452
"create-react-class": "^15.6.0",
75-
"eslint": "^3.19.0",
76-
"eslint-config-airbnb": "^15.0.2",
53+
"eslint": "^4.4.1",
54+
"eslint-config-airbnb": "^15.1.0",
7755
"eslint-plugin-import": "^2.7.0",
7856
"eslint-plugin-jsx-a11y": "^6.0.2",
79-
"eslint-plugin-react": "^7.1.0",
57+
"eslint-plugin-react": "^7.2.0",
8058
"istanbul": "^1.1.0-alpha.1",
8159
"jsdom": "^11.1.0",
82-
"mocha": "^3.4.2",
60+
"mocha": "^3.5.0",
8361
"react": "^15.6.1",
8462
"react-dom": "^15.6.1",
8563
"rimraf": "^2.6.1",
86-
"sinon": "^2.3.6"
64+
"sinon": "^3.2.0"
8765
},
8866
"scripts": {
8967
"lint": "eslint src test",
9068
"test": "mocha test --compilers js:babel-register",
9169
"test:watch": "mocha --compilers js:babel-register --reporter min --watch",
92-
"test:cover": "babel-node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha",
70+
"test:cover": "istanbul cover ./node_modules/mocha/bin/_mocha -- --compilers js:babel-register",
9371
"coveralls": "cat ./coverage/lcov.info | coveralls",
9472
"build": "rimraf lib && babel src --out-dir lib",
9573
"prepublish": "rimraf lib && babel src --out-dir lib"

0 commit comments

Comments
 (0)