react-inlinesvg
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
import { InlineSVGError } from './helpers'; | ||
@@ -3,0 +3,0 @@ export interface IProps { |
@@ -46,2 +46,9 @@ "use strict"; | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -51,4 +58,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/* eslint-disable no-underscore-dangle */ | ||
var react_1 = __importDefault(require("react")); | ||
var React = __importStar(require("react")); | ||
var react_from_dom_1 = __importDefault(require("react-from-dom")); | ||
@@ -282,3 +288,3 @@ var helpers_1 = require("./helpers"); | ||
this.setState({ | ||
element: react_1.default.cloneElement(element, rest), | ||
element: React.cloneElement(element, rest), | ||
status: exports.STATUS.READY, | ||
@@ -347,3 +353,3 @@ }); | ||
return InlineSVG; | ||
}(react_1.default.PureComponent)); | ||
}(React.PureComponent)); | ||
exports.default = InlineSVG; |
{ | ||
"name": "react-inlinesvg", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "An SVG loader for React", | ||
@@ -5,0 +5,0 @@ "author": "Gil Barbara <gilbarbara@gmail.com>", |
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
29327
484