From dc000af7116a14af56344b11259bc0a1fcccb5a2 Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Thu, 10 Aug 2017 01:55:35 +0530 Subject: [PATCH] get svg working --- package.json | 2 +- yarn.lock | 27 ++++++++++++++++++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f8900d9..a3168a3 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "babili-webpack-plugin": "^0.1.2", "copy-text-to-clipboard": "^1.0.2", "css-to-react-native": "^2.0.4", - "htmltojsx": "^0.2.6", + "htmltojsx": "https://github.com/ritz078/react-magic/tarball/feature-svg-attributes", "is-in-browser": "^1.1.3", "js-beautify": "^1.6.14", "json2dts": "^0.0.2", diff --git a/yarn.lock b/yarn.lock index 9b6684f..47779a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1896,7 +1896,7 @@ fbjs@^0.6.1: ua-parser-js "^0.7.9" whatwg-fetch "^0.9.0" -fbjs@^0.8.5, fbjs@^0.8.9: +fbjs@^0.8.1, fbjs@^0.8.4, fbjs@^0.8.5, fbjs@^0.8.9: version "0.8.14" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.14.tgz#d1dbe2be254c35a91e09f31f9cd50a40b2a0ed1c" dependencies: @@ -2270,6 +2270,15 @@ htmltojsx@^0.2.6: react "~0.14.6" yargs "~4.6.0" +"htmltojsx@https://github.com/ritz078/react-magic/tarball/feature-svg-attributes": + version "0.2.7-dev" + resolved "https://github.com/ritz078/react-magic/tarball/feature-svg-attributes#0660603bb5a6cef8aa6abe08b63e9f71d2a42ca8" + dependencies: + jsdom-no-contextify "~3.1.0" + react "~15.4.1" + react-dom "~15.4.1" + yargs "~4.6.0" + http-errors@~1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.4.0.tgz#6c0242dea6b3df7afda153c71089b31c6e82aabf" @@ -3454,6 +3463,14 @@ react-dom@^15.6.1: object-assign "^4.1.0" prop-types "^15.5.10" +react-dom@~15.4.1: + version "15.4.2" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.4.2.tgz#015363f05b0a1fd52ae9efdd3a0060d90695208f" + dependencies: + fbjs "^0.8.1" + loose-envify "^1.1.0" + object-assign "^4.1.0" + react-github-corner@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/react-github-corner/-/react-github-corner-0.3.0.tgz#b34c613e6f9cceb49fbe51378b78a9061af4da98" @@ -3492,6 +3509,14 @@ react@~0.14.6: envify "^3.0.0" fbjs "^0.6.1" +react@~15.4.1: + version "15.4.2" + resolved "https://registry.yarnpkg.com/react/-/react-15.4.2.tgz#41f7991b26185392ba9bae96c8889e7e018397ef" + dependencies: + fbjs "^0.8.4" + loose-envify "^1.1.0" + object-assign "^4.1.0" + read-pkg-up@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"