Socket
Socket
Sign inDemoInstall

@svgr/core

Package Overview
Dependencies
220
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

lib/plugins/mergeConfigs.js

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="2.1.1"></a>
## [2.1.1](https://github.com/smooth-code/svgr/compare/v2.1.0...v2.1.1) (2018-07-11)
### Bug Fixes
* **core:** config conflict with icon option ([#137](https://github.com/smooth-code/svgr/issues/137)) ([e13a99a](https://github.com/smooth-code/svgr/commit/e13a99a))
<a name="2.1.0"></a>

@@ -8,0 +19,0 @@ # [2.1.0](https://github.com/smooth-code/svgr/compare/v2.0.0...v2.1.0) (2018-07-08)

4

lib/plugins/svgo.js

@@ -10,3 +10,3 @@ "use strict";

var _merge = _interopRequireDefault(require("lodash/merge"));
var _mergeConfigs = _interopRequireDefault(require("./mergeConfigs"));

@@ -34,3 +34,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const svgoRcConfig = await explorer.search(filePath);
const svgo = new _svgo.default((0, _merge.default)(getBaseSvgoConfig(config), svgoRcConfig, config.svgoConfig));
const svgo = new _svgo.default((0, _mergeConfigs.default)(getBaseSvgoConfig(config), svgoRcConfig, config.svgoConfig));
const {

@@ -37,0 +37,0 @@ data

{
"name": "@svgr/core",
"description": "Transform SVG into React Components.",
"version": "2.1.0",
"version": "2.1.1",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "repository": "git@github.com:smooth-code/svgr.git",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc