react-from-dom
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -20,3 +20,3 @@ "use strict"; | ||
exports.possibleStandardNames = exports.noTextChildNodes = exports.styleToObject = void 0; | ||
exports.styleToObject = function (input) { | ||
var styleToObject = function (input) { | ||
var attributes = input.split(/ ?; ?/); | ||
@@ -33,2 +33,3 @@ return attributes.reduce(function (acc, d) { | ||
}; | ||
exports.styleToObject = styleToObject; | ||
exports.noTextChildNodes = [ | ||
@@ -35,0 +36,0 @@ 'br', |
{ | ||
"name": "react-from-dom", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Convert HTML/XML source code or DOM nodes to React elements", | ||
@@ -32,3 +32,3 @@ "author": "Gil Barbara <gilbarbara@gmail.com>", | ||
"peerDependencies": { | ||
"react": "^15.0.0 || ^16.0.0" | ||
"react": "^15.0.0 || ^16.0.0 || ^17.0.0" | ||
}, | ||
@@ -38,26 +38,26 @@ "dependencies": {}, | ||
"@gilbarbara/tsconfig": "^0.1.0", | ||
"@size-limit/preset-small-lib": "^4.6.0", | ||
"@types/enzyme": "^3.10.7", | ||
"@size-limit/preset-small-lib": "^4.9.1", | ||
"@types/enzyme": "^3.10.8", | ||
"@types/enzyme-adapter-react-16": "^1.0.6", | ||
"@types/jest": "^26.0.14", | ||
"@types/node": "^14.11.2", | ||
"@types/jest": "^26.0.19", | ||
"@types/node": "^14.14.13", | ||
"@types/react": "^16.9.49", | ||
"@types/react-dom": "^16.9.8", | ||
"@typescript-eslint/eslint-plugin": "^4.3.0", | ||
"@typescript-eslint/parser": "^4.3.0", | ||
"@typescript-eslint/eslint-plugin": "^4.9.1", | ||
"@typescript-eslint/parser": "^4.9.1", | ||
"del-cli": "^3.0.1", | ||
"enzyme": "^3.11.0", | ||
"enzyme-adapter-react-16": "^1.15.5", | ||
"eslint": "^7.10.0", | ||
"eslint-config-airbnb": "^18.2.0", | ||
"eslint-config-prettier": "^6.12.0", | ||
"eslint": "^7.15.0", | ||
"eslint-config-airbnb": "^18.2.1", | ||
"eslint-config-prettier": "^7.0.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-jsx-a11y": "^6.3.1", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"eslint-plugin-react": "^7.21.2", | ||
"eslint-plugin-react-hooks": "^4.1.2", | ||
"eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-prettier": "^3.2.0", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"fetch-mock": "^9.10.7", | ||
"husky": "^4.3.0", | ||
"husky": "^4.3.5", | ||
"is-ci-cli": "^2.1.2", | ||
"jest": "^26.4.2", | ||
"jest": "^26.6.3", | ||
"jest-chain": "^1.1.5", | ||
@@ -67,10 +67,10 @@ "jest-enzyme": "^7.1.2", | ||
"jest-watch-typeahead": "^0.6.1", | ||
"prettier": "^2.1.2", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"repo-tools": "^0.2.0", | ||
"prettier": "^2.2.1", | ||
"react": "^16.14.0", | ||
"react-dom": "^16.14.0", | ||
"repo-tools": "^0.2.1", | ||
"serve": "^11.3.2", | ||
"size-limit": "^4.6.0", | ||
"ts-jest": "^26.4.0", | ||
"typescript": "^4.0.3" | ||
"size-limit": "^4.9.1", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.1.3" | ||
}, | ||
@@ -77,0 +77,0 @@ "scripts": { |
# react-from-dom | ||
[![NPM version](https://badge.fury.io/js/react-from-dom.svg)](https://www.npmjs.com/package/react-from-dom) [![build status](https://travis-ci.org/gilbarbara/react-from-dom.svg)](https://travis-ci.org/gilbarbara/react-from-dom) [![Maintainability](https://api.codeclimate.com/v1/badges/8b7357d2d51cd2ee7f8e/maintainability)](https://codeclimate.com/github/gilbarbara/react-from-dom/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/8b7357d2d51cd2ee7f8e/test_coverage)](https://codeclimate.com/github/gilbarbara/react-from-dom/test_coverage) | ||
[![NPM version](https://badge.fury.io/js/react-from-dom.svg)](https://www.npmjs.com/package/react-from-dom) [![Build Status](https://travis-ci.com/gilbarbara/react-from-dom.svg?branch=master)](https://travis-ci.com/gilbarbara/react-from-dom) [![Maintainability](https://api.codeclimate.com/v1/badges/8b7357d2d51cd2ee7f8e/maintainability)](https://codeclimate.com/github/gilbarbara/react-from-dom/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/8b7357d2d51cd2ee7f8e/test_coverage)](https://codeclimate.com/github/gilbarbara/react-from-dom/test_coverage) | ||
@@ -5,0 +5,0 @@ Convert HTML/XML source code or a DOM node to a React element. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97703
1871