diff --git a/index.js b/index.js index 20107ac6..6077de1c 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ import React, {Component} from "react"; import {View} from 'react-native'; import PropTypes from 'prop-types' -import xmldom from 'xmldom'; +import xmldom from '@xmldom/xmldom'; import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'; import Svg,{ diff --git a/package.json b/package.json index 76f6db58..291f67b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "react-native-svg-uri", - "version": "1.2.3", + "name": "@chomchom/react-native-svg-uri", + "version": "1.2.5", "description": "Render an SVG Image from an URL", "main": "index.js", "scripts": { @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/matiascba/react-native-svg-uri.git" + "url": "git+https://github.com/litchi-software/react-native-svg-uri.git" }, "keywords": [ "react-native", @@ -20,19 +20,19 @@ "author": "Matias Cortes", "license": "ISC", "dependencies": { - "xmldom": "^0.1.22" + "@xmldom/xmldom": "^0.7.5" }, - "peerDependencies": { - "react-native-svg": "^5.3.0" + "publishConfig": { + "access": "public" }, - "bugs": { - "url": "https://github.com/matiascba/react-native-svg-uri/issues" + "peerDependencies": { + "react-native-svg": "^12.1.1" }, - "homepage": "https://github.com/matiascba/react-native-svg-uri#readme", + "homepage": "hhttps://github.com/litchi-software/react-native-svg-uri#readme", "devDependencies": { "babel-core": "^6.24.1", "babel-preset-react-native": "^2.1.0", "chai": "^3.5.0", - "mocha": "^3.2.0" + "mocha": "^9.1.3" } }