@oncojs/react-sapien
Advanced tools
Comparing version 0.4.1 to 0.4.2
import React from 'react'; | ||
import createHumanBody from '@oncojs/sapien'; | ||
import createSapien from '@oncojs/sapien'; | ||
var Humanbody = function Humanbody(props) { | ||
var Sapien = function Sapien(props) { | ||
return React.createElement( | ||
'div', | ||
null, | ||
createHumanBody(props) | ||
createSapien(props) | ||
); | ||
}; | ||
export default Humanbody; | ||
export default Sapien; |
@@ -15,3 +15,3 @@ 'use strict'; | ||
var Humanbody = function Humanbody(props) { | ||
var Sapien = function Sapien(props) { | ||
return _react2.default.createElement( | ||
@@ -24,2 +24,2 @@ 'div', | ||
exports.default = Humanbody; | ||
exports.default = Sapien; |
@@ -5,10 +5,10 @@ /* @flow */ | ||
import createHumanBody from '@oncojs/sapien'; | ||
import createSapien from '@oncojs/sapien'; | ||
import type { TConfig } from '@oncojs/sapien/types'; | ||
const Humanbody = (props: TConfig) => ( | ||
<div>{createHumanBody(props)}</div> | ||
const Sapien = (props: TConfig) => ( | ||
<div>{createSapien(props)}</div> | ||
); | ||
export default Humanbody; | ||
export default Sapien; |
@@ -17,3 +17,3 @@ { | ||
"name": "@oncojs/react-sapien", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "React Component for @oncojs/sapien", | ||
@@ -23,3 +23,3 @@ "browser": true, | ||
"dependencies": { | ||
"@oncojs/sapien": "0.4.1" | ||
"@oncojs/sapien": "0.4.2" | ||
}, | ||
@@ -26,0 +26,0 @@ "peerDependencies": { |
Sorry, the diff of this file is too big to display
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1755
0
806400
+ Added@oncojs/sapien@0.4.2(transitive)
- Removed@oncojs/sapien@0.4.1(transitive)
Updated@oncojs/sapien@0.4.2