react-svg 6.0.13 → 6.0.17
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/CHANGELOG.md +29 -1
- package/README.md +2 -2
- package/package.json +28 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [v6.0.
|
|
3
|
+
## [v6.0.17](https://github.com/tanem/react-svg/tree/v6.0.17) (2018-10-05)
|
|
4
|
+
[Full Changelog](https://github.com/tanem/react-svg/compare/v6.0.16...v6.0.17)
|
|
5
|
+
|
|
6
|
+
**Merged pull requests:**
|
|
7
|
+
|
|
8
|
+
- Fix example links [\#162](https://github.com/tanem/react-svg/pull/162) ([tanem](https://github.com/tanem))
|
|
9
|
+
|
|
10
|
+
## [v6.0.16](https://github.com/tanem/react-svg/tree/v6.0.16) (2018-10-04)
|
|
11
|
+
[Full Changelog](https://github.com/tanem/react-svg/compare/v6.0.15...v6.0.16)
|
|
12
|
+
|
|
13
|
+
**Merged pull requests:**
|
|
14
|
+
|
|
15
|
+
- Housekeeping [\#161](https://github.com/tanem/react-svg/pull/161) ([tanem](https://github.com/tanem))
|
|
16
|
+
|
|
17
|
+
## [v6.0.15](https://github.com/tanem/react-svg/tree/v6.0.15) (2018-09-23)
|
|
18
|
+
[Full Changelog](https://github.com/tanem/react-svg/compare/v6.0.14...v6.0.15)
|
|
19
|
+
|
|
20
|
+
**Merged pull requests:**
|
|
21
|
+
|
|
22
|
+
- Fix dep. warnings in Jest config [\#160](https://github.com/tanem/react-svg/pull/160) ([tanem](https://github.com/tanem))
|
|
23
|
+
|
|
24
|
+
## [v6.0.14](https://github.com/tanem/react-svg/tree/v6.0.14) (2018-09-21)
|
|
25
|
+
[Full Changelog](https://github.com/tanem/react-svg/compare/v6.0.13...v6.0.14)
|
|
26
|
+
|
|
27
|
+
**Merged pull requests:**
|
|
28
|
+
|
|
29
|
+
- Update deps [\#159](https://github.com/tanem/react-svg/pull/159) ([tanem](https://github.com/tanem))
|
|
30
|
+
|
|
31
|
+
## [v6.0.13](https://github.com/tanem/react-svg/tree/v6.0.13) (2018-09-16)
|
|
4
32
|
[Full Changelog](https://github.com/tanem/react-svg/compare/v6.0.12...v6.0.13)
|
|
5
33
|
|
|
6
34
|
**Merged pull requests:**
|
package/README.md
CHANGED
|
@@ -28,8 +28,8 @@ render(<ReactSVG src="svg.svg" />, document.getElementById('root'))
|
|
|
28
28
|
- External Stylesheet: [Source](https://github.com/tanem/react-svg/tree/master/examples/external-stylesheet) | [Sandbox](https://codesandbox.io/s/github/tanem/react-svg/tree/master/examples/external-stylesheet)
|
|
29
29
|
- Typescript: [Source](https://github.com/tanem/react-svg/tree/master/examples/typescript) | [Sandbox](https://codesandbox.io/s/github/tanem/react-svg/tree/master/examples/typescript)
|
|
30
30
|
- CSS-in-JS: [Source](https://github.com/tanem/react-svg/tree/master/examples/css-in-js) | [Sandbox](https://codesandbox.io/s/github/tanem/react-svg/tree/master/examples/css-in-js)
|
|
31
|
-
- UMD Build (Development): [Source](https://github.com/tanem/react-svg/tree/master/examples/umd-dev) | [Sandbox](https://codesandbox.io/s/github/tanem/react-svg/tree/
|
|
32
|
-
- UMD Build (Production): [Source](https://github.com/tanem/react-svg/tree/master/examples/umd-prod) | [Sandbox](https://codesandbox.io/s/github/tanem/react-svg/tree/
|
|
31
|
+
- UMD Build (Development): [Source](https://github.com/tanem/react-svg/tree/master/examples/umd-dev) | [Sandbox](https://codesandbox.io/s/github/tanem/react-svg/tree/master/examples/umd-dev)
|
|
32
|
+
- UMD Build (Production): [Source](https://github.com/tanem/react-svg/tree/master/examples/umd-prod) | [Sandbox](https://codesandbox.io/s/github/tanem/react-svg/tree/master/examples/umd-prod)
|
|
33
33
|
|
|
34
34
|
## API
|
|
35
35
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-svg",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.17",
|
|
4
4
|
"description": "A React component that injects SVG into the DOM.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "es/react-svg.js",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"check:format": "prettier --list-different \"**/*.{js,ts,tsx}\"",
|
|
21
21
|
"check:types": "tsc --noEmit",
|
|
22
22
|
"clean": "run-p clean:*",
|
|
23
|
-
"clean:cjs": "
|
|
24
|
-
"clean:coverage": "
|
|
25
|
-
"clean:es": "
|
|
26
|
-
"clean:typings": "
|
|
27
|
-
"clean:umd": "
|
|
23
|
+
"clean:cjs": "del cjs",
|
|
24
|
+
"clean:coverage": "del coverage",
|
|
25
|
+
"clean:es": "del es",
|
|
26
|
+
"clean:typings": "del index.d.ts",
|
|
27
|
+
"clean:umd": "del umd",
|
|
28
28
|
"compile": "tsc --emitDeclarationOnly",
|
|
29
29
|
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
|
|
30
30
|
"lint": "tslint -t stylish -p .",
|
|
@@ -57,55 +57,55 @@
|
|
|
57
57
|
"react-dom": "^15.5.4 || ^16.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@babel/runtime": "^7.
|
|
60
|
+
"@babel/runtime": "^7.1.2",
|
|
61
61
|
"@tanem/svg-injector": "^1.2.1",
|
|
62
62
|
"prop-types": "^15.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@babel/core": "^7.
|
|
66
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
67
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
68
|
-
"@babel/preset-env": "^7.
|
|
65
|
+
"@babel/core": "^7.1.2",
|
|
66
|
+
"@babel/plugin-proposal-class-properties": "^7.1.0",
|
|
67
|
+
"@babel/plugin-transform-runtime": "^7.1.0",
|
|
68
|
+
"@babel/preset-env": "^7.1.0",
|
|
69
69
|
"@babel/preset-react": "^7.0.0",
|
|
70
|
-
"@babel/preset-typescript": "^7.
|
|
70
|
+
"@babel/preset-typescript": "^7.1.0",
|
|
71
71
|
"@types/enzyme": "^3.1.14",
|
|
72
72
|
"@types/faker": "^4.1.4",
|
|
73
|
-
"@types/jest": "^23.3.
|
|
74
|
-
"@types/prop-types": "^15.5.
|
|
73
|
+
"@types/jest": "^23.3.3",
|
|
74
|
+
"@types/prop-types": "^15.5.6",
|
|
75
75
|
"@types/react": "^16.4.14",
|
|
76
|
-
"@types/react-dom": "^16.0.
|
|
77
|
-
"@types/sinon": "^5.0.
|
|
76
|
+
"@types/react-dom": "^16.0.8",
|
|
77
|
+
"@types/sinon": "^5.0.3",
|
|
78
78
|
"babel-core": "^6.26.3",
|
|
79
|
-
"babel-plugin-transform-react-remove-prop-types": "^0.4.
|
|
79
|
+
"babel-plugin-transform-react-remove-prop-types": "^0.4.18",
|
|
80
80
|
"codecov": "^3.1.0",
|
|
81
81
|
"cross-env": "^5.2.0",
|
|
82
|
+
"del-cli": "^1.1.0",
|
|
82
83
|
"enzyme": "^3.6.0",
|
|
83
84
|
"enzyme-adapter-react-16": "^1.5.0",
|
|
84
85
|
"faker": "^4.1.0",
|
|
85
86
|
"jest": "^23.6.0",
|
|
86
87
|
"npm-run-all": "^4.1.3",
|
|
87
|
-
"prettier": "^1.14.
|
|
88
|
+
"prettier": "^1.14.3",
|
|
88
89
|
"raf": "^3.4.0",
|
|
89
|
-
"react": "^16.5.
|
|
90
|
-
"react-dom": "^16.5.
|
|
91
|
-
"react-test-renderer": "^16.5.
|
|
90
|
+
"react": "^16.5.2",
|
|
91
|
+
"react-dom": "^16.5.2",
|
|
92
|
+
"react-test-renderer": "^16.5.2",
|
|
92
93
|
"regenerator-runtime": "^0.12.1",
|
|
93
|
-
"
|
|
94
|
-
"rollup": "^0.66.0",
|
|
94
|
+
"rollup": "^0.66.4",
|
|
95
95
|
"rollup-plugin-babel": "^4.0.3",
|
|
96
|
-
"rollup-plugin-commonjs": "^9.1.
|
|
96
|
+
"rollup-plugin-commonjs": "^9.1.8",
|
|
97
97
|
"rollup-plugin-filesize": "^4.0.1",
|
|
98
98
|
"rollup-plugin-node-resolve": "^3.4.0",
|
|
99
99
|
"rollup-plugin-replace": "^2.0.0",
|
|
100
100
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
101
101
|
"rollup-plugin-uglify": "^6.0.0",
|
|
102
102
|
"shelljs": "^0.8.2",
|
|
103
|
-
"shelljs-plugin-authors": "^2.0.
|
|
104
|
-
"sinon": "^6.3.
|
|
105
|
-
"ts-jest": "^23.
|
|
103
|
+
"shelljs-plugin-authors": "^2.0.6",
|
|
104
|
+
"sinon": "^6.3.5",
|
|
105
|
+
"ts-jest": "^23.10.3",
|
|
106
106
|
"tslint": "^5.11.0",
|
|
107
107
|
"tslint-config-prettier": "^1.15.0",
|
|
108
108
|
"tslint-react": "^3.6.0",
|
|
109
|
-
"typescript": "^3.
|
|
109
|
+
"typescript": "^3.1.1"
|
|
110
110
|
}
|
|
111
111
|
}
|