Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-inlinesvg

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-inlinesvg - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

lib/index.d.ts

@@ -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>",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc